W dniu czwartek, 26 czerwca 2014 17:19:44 UTC+2 użytkownik Solange Lemos 
napisał:
>
> Hello!
>
> We are having trouble with androidpublisher.inapppurchases.get
>
> Our project is just according to 
> https://code.google.com/p/google-api-java-client/wiki/OAuth2#Service_Accounts 
> and 
> it worked fine until we migrated to new Google Play Account. So now when I 
> execute request Server-to-Server we receive this response.
>
> {
>   "code" : 401,
>   "errors" : [ {
>     "domain" : "androidpublisher",
>     "message" : "The current user has insufficient permissions to perform the 
> requested operation.",
>     "reason" : "permissionDenied"
>   } ],
>   "message" : "The current user has insufficient permissions to perform the 
> requested operation."}
>
> Anybody is familiar with this response because in google documentation there 
> is no clue about this.Thanks in advance
>
>
Yea 

Today i have got the same issue. Then our cliend send us his owner google 
play account permission. After that i get refresh_token using that accound 
and then everything is ok. 

Here is how to get permission. When you get refresh_token then you can ask 
for access_token. But remember first step

https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/androidpublisher&response_type=code&access_type=offline&redirect_uri=...&client_id=...

must be inveke as google play owner, its important


https://developers.google.com/android-publisher/authorization

-- 
You received this message because you are subscribed to the Google Groups 
"Android Security Discussions" 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/android-security-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to