Blogger v3 - (403) Insufficient Permission

72 views
Skip to first unread message

Costas Kirgoussios

unread,
Sep 11, 2013, 10:35:01 AM9/11/13
to google-api...@googlegroups.com
Since Sep/9 am getting the following exception from Google_PostsServiceResource::insert() method:

Error calling POST https://www.googleapis.com/blogger/v3/blogs/6513984178921553264/posts?key=AIzaSyBQxq-rj6vUTlv9O3GwjBKyvr-fTnxVsl4: (403) Insufficient Permission

However if immediately after that check my tokeninfo at https://www.googleapis.com/oauth2/v1/tokeninfo?access_token= (e.g. https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=ya29.AHES6ZTj-nKnVYE39bgBHhIXBBywmVXTcl0ivbtdNYA6ZSE) I get a proper response like:
{
 "issued_to": "52213432051-4acoalgd3f0u2vhsl07fjccqq3ifvrv9.apps.googleusercontent.com",
 "audience": "52213432051-4acoalgd3f0u2vhsl07fjccqq3ifvrv9.apps.googleusercontent.com",
 "scope": "https://www.googleapis.com/auth/blogger",
 "expires_in": 1769,
 "access_type": "offline"
}

Prior to post I use the Google_Client::isAccessTokenExpired() to test (returns true).

I tried to revoke application permissions at https://accounts.google.com/IssuedAuthSubTokens and re-authorize it successfully but the exception persists.

Any ideas on what to do?
Reply all
Reply to author
Forward
0 new messages