Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Getting invalid_client error data
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sumit Maitra  
View profile  
 More options Sep 6 2011, 4:07 am
From: Sumit Maitra <sumi...@gmail.com>
Date: Tue, 6 Sep 2011 01:07:19 -0700
Local: Tues, Sep 6 2011 4:07 am
Subject: Re: Getting invalid_client error data

Hello Xinyue,

I must apologize, I was getting 400 - redirect_uri_mismatch and not invalid
client ID. Please disregard my earlier comments. One thing that might help
is, which Service API did you register the app for?

Thanks and Regards,
Sumit.

On Tue, Sep 6, 2011 at 12:54 AM, Sumit Maitra <sumi...@gmail.com> wrote:
> Hello Xinyue,

> Since I had made the mistake of registering my app as web client instead of
> installed client, I was getting this error. One i got the client id and key
> for installed app, things worked. But you seem to be on the right track so
> we'll have to wait for Greg to help out here.

> I will look up my thread too to see if I can find something.

> Regards,
> Sumit.

> On Sep 6, 2011, at 12:44 AM, Xinyue Zhai (翟欣玥) <xinyuez...@google.com>
> wrote:

> Hi Sumit,

> I registered my app as installed application. And how did you resolve the
> similar issue?

> On Tue, Sep 6, 2011 at 3:40 PM, Sumit Maitra < <sumi...@gmail.com>
> sumi...@gmail.com> wrote:

>> Hi,
>> Did you register your app as a web app or client app? I had made that
>> mistake first time around.

>> Thanks and Regards,
>> Sumit.

>> On Sep 5, 2011, at 10:25 PM, Xinyue Zhai (翟欣玥) < <xinyuez...@google.com>
>> xinyuez...@google.com> wrote:

>> Hi,

>> I downloaded the sample code and wanted to learn and play with it. I
>> followed the introduction to registered my app on the API console as
>> Doraemon and got the client ID and secret key.

>> I run the OAuthSampleTouch in the iphone simulator, and typed the client
>> ID and secret key in the text fields. It successfully redirects to the
>> google login screen.  I use my company email and personal email to login and
>> allow the permission for the app to access data. Everything seems work well.
>> But when the web view closed, it returns a error message to the
>> finishedSelector as below:

>> *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";*

>> *}*
>> I have double checked that this error data means invalid client
>> identifier. Do I miss something on applying for the client ID?
>> I am new to OAuth. Please help me on this issue or point to some related
>> documentation to resolve this problem.

>> Thanks a lot!

>> --
>> Best Wishes!
>> Xinyue Zhai(翟欣玥)
>> Seat 322C, Ext 3627

>> Software Engineer
>> Infrastructure Networking Department
>> Google China

> --
> Best Wishes!
> Xinyue Zhai(翟欣玥)
> Seat 322C, Ext 3627

> Software Engineer
> Infrastructure Networking Department
> Google China


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.