401 error. Google Play Android Developer API v1.1

2,973 views
Skip to first unread message

Bob Mitchell

unread,
Jul 22, 2014, 10:37:19 PM7/22/14
to google-apis-e...@googlegroups.com
I get the following response when I try to use the Google Play Android Developer api with the API explorer (and oauth tool and python code).


401 Unauthorized
- Show headers -
{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "permissionDenied",
"message": "The current user has insufficient permissions to perform the requested operation."
}
],
"code": 401,
"message": "The current user has insufficient permissions to perform the requested operation."
}
}


The stack exchange thread I found with the same error suggests I need to add the developer account (the email associated with the web api credentials) to the google play account (done). Doesn't seem to help.

Does the service email for the web api credentials need to be added to the google wallet?

Using the tokeninfo query, the access token is issued to the account I'm expecting and is still valid and has the correct scope.

https://www.googleapis.com/oauth2/v1/tokeninfo?access_token=[ACCESS_TOKEN]


Any suggestions?



Bob Mitchell

unread,
Jul 24, 2014, 8:41:47 PM7/24/14
to google-apis-e...@googlegroups.com
We were essentially transferring the app between two google play accounts. It seems like this page suggests that the "google developer account" needs to have the google play account as an owner. Will be adding them as an owner to try the resolve our 401 "insufficient permission" issue

Reply all
Reply to author
Forward
0 new messages