Search This Site

Custom Search

Wednesday, September 29, 2010

[bloggerDev] Cannot create or update posts using Java client library on a previously invitation-only blog

Hello

I use the Blogger Gdata Java client library to create a post, if none
is found with a specified title, or to edit an existing post (in order
to update a post I use for notifications). This works fine on a
publicly accessible blog where the authenticated user is an "author".
However, on a blog which was originally set to "invitation-only", with
exactly the same user having administrator privileges, neither
programmatic creation nor update works.

The error message was:

"Caused by: com.google.gdata.util.AuthenticationException:
Unauthorized
User does not have permission to create new post"

(I don't have the stack trace with me at the moment)

The reason why I suspect there might be a bug in the authentication
routines for invitation-only blogs is because there was another issue
posted in the forum about the fact that RSS feeds were not available
via the API for such blogs.

I have confirmed that I can create and edit posts in both blogs using
the authenticated user mentioned. Note that the authenticated user is
a Google Apps user *and* a Google Accounts user.

I can give more specific information about the usernames and blog URLs
privately to Google staff if this helps with the diagnosis.

Many thanks,
Frank

--
You received this message because you are subscribed to the Google Groups "Blogger Developer Group" group.
To post to this group, send email to bloggerdev@googlegroups.com.
To unsubscribe from this group, send email to bloggerdev+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bloggerdev?hl=en.

No comments:

Post a Comment