GMail API OAuth Scope

125 views
Skip to first unread message

Euber Bispo

unread,
Jul 29, 2014, 1:42:28 PM7/29/14
to google-oauth...@googlegroups.com
It seems that there is an error in the documentation or api jar. 
In the documentation the full scope is: 


In constant api, GmailScopes.MAIL_GOOGLE_COM the value is: 


When there is a difference because of the "\", the system returns: 
{
   "error": "access_denied" 
   "error_description": "Requested client not authorized." 



To have no errors you must use the same scope. With or without \ on both side.

Ref: 

Daniel Wang

unread,
Jan 2, 2015, 11:35:42 AM1/2/15
to google-oauth...@googlegroups.com
Please also post your question on the Gmail API support page:

Reply all
Reply to author
Forward
0 new messages