You are not authorized to access this API Error 403

683 views
Skip to first unread message

Hemant Chaudhari

unread,
Oct 6, 2012, 9:16:11 AM10/6/12
to google-app...@googlegroups.com
Hello Everyone,

Please help me. I am getting following error while using email setting API (google apps) to retrieve all labels.

You are not authorized to access this API

Error 403


Using cURL URL,
https://apps-apis.google.com/a/feeds/emailsettings/2.0/meditab.com/hemantc/label

Also, I have given enough authorization with token while making a cURL in PHP. I am using Administrator account to authorize.

It would be great, if you can give me all possible reason.

Thank you.

Jay Lee

unread,
Oct 8, 2012, 9:47:48 AM10/8/12
to google-app...@googlegroups.com
What edition of Google Apps are you using? Email Settings API only works with Business and EDU. It will not work for Google Apps free accounts.

Jay

Hemant Chaudhari

unread,
Oct 9, 2012, 1:30:43 AM10/9/12
to google-app...@googlegroups.com
Yes, it's business account. I have enabled also "Enable provisioning API".

Jay Lee

unread,
Oct 9, 2012, 8:17:08 AM10/9/12
to google-app...@googlegroups.com
Are you using ClientLogin, OAuth 1.0a or OAuth 2.0? Is the user you are authenticating with a super administrator (delegated admins don't have rights to email settings api).

Jay
Reply all
Reply to author
Forward
0 new messages