2011-09-06 13:11:36.238 OAuthSampleTouch[12454:40b] Error Error Domain=com.google.HTTPStatus Code=400 "The operation couldn’t be completed. (com.google.HTTPStatus error 400.)"
Error data:
{
error = "invalid_client";
}
NSString *scope = @"https://www.googleapis.com/auth/buzz";
ThanksI know I'm "late to the party", but I ran into this issue today while trying to get the GTM OAuth2 lib calls to work. I triple checked my IDs, etc., but everything was correct. I found the solution to my issue was in the GTM OAuth2 introduction web page (http://code.google.com/p/gtm-oauth2/wiki/Introduction), which stated:"In the console, create a project, then click "API Access" in the left column. Create a new Client ID for an Installed Application (not a web application) type other (not iOS)."I had registered my app as an "iOS" installed app, and when I changed it to "other", everything worked.Hope that helps someone else too.
On Tuesday, October 11, 2011 10:42:47 PM UTC-7, Chris Lacy wrote:I just experienced this issue. My advice: triple check your Client ID/Secret are correct. In my case, I was mistaking a 'l' (the letter L) in the secret for a '1' (the number 1).