I'm using Ruby's OAuth library found here:
https://github.com/oauth/oauth-ruby
to make requests.

When I request the oauth token for a user, I request access to the following 
scopes:
https://www.googleapis.com/auth/userinfo%23email
and
https://apps-apis.google.com/a/feeds/emailsettings/2.0/

I can instantiate the access token fine. I can access the first scope with 
no problem.  I.e. this works:
response = 
@access_token.get('https://www.googleapis.com/userinfo/email?alt=json')

However, if I try to use the access token with the email settings api as 
follows:
    response = 
@access_token.get('https://apps-apis.google.com/a/feeds/emailsettings/2.0/gmail.com/username/label')

I get a 500 Internal Server Error as the response.  Any suggestions on how 
to debug this.



-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management 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://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to