cuongpd / gapi-google-analytics-php-interface

Automatically exported from code.google.com/p/gapi-google-analytics-php-interface
0 stars 0 forks source link

Gapi bad authentication #92

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello
I have a problem with the gapi authentication. I have the following error:
Fatal error: Uncaught exception 'Exception' with message 'GAPI: Failed to 
authenticate user. Error: "Error=BadAuthentication "' in.....
I am sure the login data is correct.
Does anybody knows a solution. 
Thanks in advance

Original issue reported on code.google.com by adriando...@gmail.com on 5 Feb 2013 at 9:47

GoogleCodeExporter commented 9 years ago
Hello, to stop this error, you must release the google analytics in your 
account by accessing:
Also, in your settings you must create a specific password to be able to 
perform this procedure: https://code.google.com/apis/console/

hugs

Celso Leandro Palma (Brazil)

Original comment by celsolea...@gmail.com on 13 Feb 2013 at 11:36

GoogleCodeExporter commented 9 years ago
You also need to enable acces to your account here : 
https://accounts.google.com/DisplayUnlockCaptcha

Original comment by localact...@gmail.com on 1 Nov 2013 at 2:59

GoogleCodeExporter commented 9 years ago
Thanks localact I have tried all but none worked but your suggestion was the 
best.. Thanks so much..

Original comment by blisslab...@gmail.com on 15 Jun 2014 at 9:17

GoogleCodeExporter commented 9 years ago
https://accounts.google.com/DisplayUnlockCaptcha as suggested worked fine to me

Original comment by rodolfo....@gmail.com on 2 Aug 2014 at 6:09

GoogleCodeExporter commented 9 years ago
I have 2 account, so one work fine, one get that error ( same site ) . What's 
wrong?  :(

Original comment by monmon17...@gmail.com on 18 Oct 2014 at 2:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Enabling "less secure applications" with google helped solve the issue on my 
setup.

done here: 
https://www.google.com/settings/security/lesssecureapps

Original comment by syr...@gmail.com on 16 Jan 2015 at 11:06

GoogleCodeExporter commented 9 years ago
Why it works???
https://www.google.com/settings/security/lesssecureapps
And
https://accounts.google.com/DisplayUnlockCaptcha

Other people are advised to access the api has been doing through the creation 
of applications in the console:
«Also, in your settings you must create a specific password to be able to 
perform this procedure: https://code.google.com/apis/console/»

What are the differences in these two ways of authorization? 
If authorization works via email and password, why somebody do the 
authorization through the console developers?? Limits? or what?

Original comment by dzendze...@gmail.com on 31 Jan 2015 at 2:55