Bad Authentication eventhough I provided correct token and answer to captcha challenge?

57 views
Skip to first unread message

alreymark

unread,
Oct 15, 2011, 11:22:12 PM10/15/11
to google-app...@googlegroups.com
Hi,

I'm using Zend Gdata script to retrieve some info of a user from my Google Apps. At first all seems to be working fine but when the captcha challenge appears I'm getting "Error: Authentication with Google failed. Reason: BadAuthentication" eventhough my login credentials are correct and the token and the captcha answer are correct. This happens when I'm going to submit a correct answer to the captcha challenge.

Here is how my code looks like:

$client = Zend_Gdata_ClientLogin::getHttpClient('email-address', 'password', Zend_Gdata_Gapps::AUTH_SERVICE_NAME, null, 'appName', $token, $answer);

Does anybody knows why is this happening, any workaround? Any help is very much appreciated.

Thanks,
Mark

alreymark

unread,
Oct 17, 2011, 12:14:22 AM10/17/11
to google-app...@googlegroups.com
Anybody who can help me with this?

Gunjan Sharma

unread,
Oct 17, 2011, 1:20:18 AM10/17/11
to google-app...@googlegroups.com
Hello Alreymark

The Zend library is not maintained by Google. The Provisioning API is working fine. We are able to retrieve user info. If you find an error due to the API itself please let us know.

Thanks
Gunjan Sharma

Jay Lee

unread,
Oct 17, 2011, 8:31:58 AM10/17/11
to google-app...@googlegroups.com
Hi alreymark,

  Does manually clearing the Captcha at:


help? Do you have a strong password on the account to minimize the chances of it being Captcha locked? (short, weak passwords face more Captcha locks than strong passwords).

Jay

alreymark

unread,
Oct 17, 2011, 6:17:17 PM10/17/11
to google-app...@googlegroups.com
Hi Jay,

Thanks for your reply. My problem is now fixed. It turned out that someone was messing up with my configuration. Thank you very much for your time.

Cheers - Mark
Reply all
Reply to author
Forward
0 new messages