You have to check if your application XML (manifest) includes this
scope (/m8/feeds/contacts)
Can you post it?
[]'s
Geraldo Magella Junior Valadares


On Wed, Sep 21, 2011 at 09:52, Amit <[email protected]> wrote:

> Hi Geraldo,
> I have set "xo**auth_requestor_id" in query string. But now I get error
> regarding "Token invalid - AuthSub token has wrong scope" I am posting http
> headers below:
>
> HTTP Request:
>
> GET /m8/feeds/contacts/default/full/?xoauth_requestor_id=testaccamit%
> 40test.issueburner.com HTTP/1.1
> Host: www.google.com
> Connection: close
> User-Agent: MyCompany-MyApp-1.0 Zend_Framework_Gdata/1.11.0dev
> Accept-encoding: identity
> Authorization: OAuth realm="",oauth_consumer_key="
> 686518909188.apps.googleusercontent.com
> ",oauth_nonce="0bc13a9de282e7e3fbe431be241e53b6",oauth_signature_method="HMAC-SHA1",oauth_timestamp="1316609206",oauth_version="1.0",oauth_signature="yp6aA0cbQh4ihpcKVK1DadRuu%2F4%3D"
>
>
>
> HTTP Response:
>
> HTTP/1.1 401 Token invalid - AuthSub token has wrong scope
> Content-Type: text/html; charset=UTF-8
> Date: Wed, 21 Sep 2011 12:46:47 GMT
> Expires: Wed, 21 Sep 2011 12:46:47 GMT
> Cache-Control: private, max-age=0
> X-Content-Type-Options: nosniff
> X-Frame-Options: SAMEORIGIN
> X-XSS-Protection: 1; mode=block
> Server: GSE
> Connection: close
>
> <HTML>
> <HEAD>
> <TITLE>Token invalid - AuthSub token has wrong scope</TITLE>
> </HEAD>
> <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> <H1>Token invalid - AuthSub token has wrong scope</H1>
> <H2>Error 401</H2>
> </BODY>
> </HTML>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
> To post to this group, send email to
> [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://code.google.com/apis/contacts/community/forum.html
>

-- 
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" group.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://code.google.com/apis/contacts/community/forum.html

Reply via email to