Hello,
since days I try to upload data to GoogleDrive in an spreadsheet.
See as attachment the configuration and format of spreadsheet.
I add my email address and password to the form, but I got this
error:
[9] => Array
(
[Google Spreadsheet Save] => Array
(
[Authentication] => Failed
)
)
What´s going wrong?
Best regards
Michael
Sorry, here is the picture
Hi Michael,
The Data Path entry should just be GSheet. Please try that.
Bob
Hi Bob,
now I add only "GSheet" in Data Path.
But again: [Authentication] => Failed
email-address is correct
password is correct
name of spreadsheet is correct
Hi michaelnrw,
That's a second problem I fear - Google changed the Authentication earlier this year to make it more secure and Max hasn't yet updated the standard action. I have sent you a PM with a link to download my GSheet Save [GH] action plus the Google API library.
Bob
Hi antoniorh9,
I can only suggest that you check with your web-host - it looks as though the Connection to Google is being blocked. You might get more clues by turning Site Debug on temporarily but I don't think that the action is the immediate problem here. If you see the line in the code where the error is being triggered that might help a bit.
Bob
Hi Bob,
I'm having the same issue with failed authentication.
Would it be possible to try your action that you described earlier?
Thanks
Mark
Hi Mark,
I have PMd you a link.
Bob
I had the same issue, worked on it a bit more, added the custom code to create my data array, and now when I submit my test form I get an unable to parse the p12 file error.
For other readers:
Mark got this to work using these notes I sent him:
It looks as though Google have changed the API set up a bit. When it says what kind of credentials do you want there is an option to ask a few questions.
+ Which API are you using: Google Drive API
+ Where will you be calling the API from: Web server
+ What data will you be accessing: Application data
+ Are you using . . . : No I'm not using them.
The next screen will let you create an email, etc.
Bob