cerrina
cerrina

Reputation: 553

Blogger API suddenly giving Insufficient Permission error

I've been publishing posts to Blogger blogs for a while now with the v3 API. Suddenly, this morning I'm getting 403 "Insufficient Permission" errors when I try to insert posts. To make sure it wasn't something in my code, I tried inserting a post with the API Explorer. I authorized the request with the provided scope (https://www.googleapis.com/auth/blogger) and tried to insert the following post resource:

{
  "kind": "blogger#post",
  "blog": {
    "id": "xxxxxxxx"
  },
  "title": "Test Post",
  "content": "This is a test post"
}

And when I tried to execute the request, I got the following error:

403 Forbidden

- Hide headers -

cache-control:  private, max-age=0
content-encoding:  gzip
content-length:  136
content-type:  application/json; charset=UTF-8
date:  Wed, 11 Sep 2013 18:18:21 GMT
expires:  Wed, 11 Sep 2013 18:18:21 GMT
server:  GSE
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"
 }
}

Anyone know why this is suddenly not working today? Thanks!

Upvotes: 2

Views: 734

Answers (2)

cerrina
cerrina

Reputation: 553

Looks like this was a Blogger issue. The problem has been resolved on their side and my app works fine again.

Upvotes: 1

KyleC
KyleC

Reputation: 201

I have this problem as well, to be honest I am glad that I am not the only one having this problem! This error also occurs if you try to do things via the Oauth playground, for me it was getting a list of the users blogs.

Upvotes: 0

Related Questions