Posting to Blogger returns a 403 Forbidden Error

Thomas Parisot <[email protected]>
Newsgroups gmane.comp.web.blogger.api
Message-ID <[email protected]>
I discovered the issue today as my daily Google Apps Script was not working.

I tried from the OAuth2 Playground too, without success.  
The OAuth token info URL returns me that though:

{ "issued_to": "283655246914.apps.googleusercontent.com", "audience": 
"283655246914.apps.googleusercontent.com", "scope": 
"https://www.googleapis.com/auth/blogger https://www.blogger.com/feeds/ 
https://www.googleapis.com/auth/blogger.readonly 
https://picasaweb.google.com/data/", "expires_in": 2827, "access_type": 
"offline"}

With :

POST /blogger/v3/blogs/422404653957324604/posts HTTP/1.1
Host: www.googleapis.com
Content-length: 237
Content-type: application/json
Authorization: Bearer … (token used above)

{
    "kind": "blogger#post",
    "labels": ["test"],
    "title": "Day 58",
    "content": "<div class="content">Test</div>",
    "selfLink": "",
    "published": "2013-09-11T16:19:01.169Z",
    "updated": "2013-09-11T16:19:01.169Z"
  }

And with this response

HTTP/1.1 403 Forbidden
Content-length: 208
X-xss-protection: 1; mode=block
X-content-type-options: nosniff
Expires: Wed, 11 Sep 2013 16:24:16 GMT
Server: GSE
Cache-control: private, max-age=0
Date: Wed, 11 Sep 2013 16:24:16 GMT
X-frame-options: SAMEORIGIN
Content-type: application/json; charset=UTF-8
Www-authenticate: Bearer realm="https://www.google.com/accounts/AuthSubRequest", error=insufficient_scope, scope="https://www.googleapis.com/auth/blogger"

{
 "error": {
  "errors": [
   {
    "domain": "global",
    "reason": "insufficientPermissions",
    "message": "Insufficient Permission"
   }
  ],
  "code": 403,
  "message": "Insufficient Permission"
 }
}

Any idea?

-- 
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/bloggerdev.
For more options, visit https://groups.google.com/groups/opt_out.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.