1024programmer Java GooglePlayAndroidDeveloperAPI – List Rights – “Insufficient Permissions”

GooglePlayAndroidDeveloperAPI – List Rights – “Insufficient Permissions”

When trying to list rights, I would:

 403 Forbidden

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

I am using the “WithInstalledApplication” authorization of client_secrets json.

Important: Any other listings work fine (apks, inapproducts,…). I only have this rights issue.

I’m also sure my source code is correct, but just for reference:

final AndroidPublisher service = AndroidPublisherHelper.init(appName, null);
 final AndroidPublisher.Entitlements entitlements = service.entitlements();

 EntitlementsListResponse entList = entitlements.list(pkgName).execute();
 System.out.println("Entiltments: " + entList.toString());

Thank you for your suggestion.

This article is from the internet and does not represent1024programmerPosition, please indicate the source when reprinting:https://www.1024programmer.com/771095

author: admin

Previous article
Next article

Leave a Reply

Your email address will not be published. Required fields are marked *

Contact Us

Contact us


Online consultation: QQ交谈

E-mail: [email protected]

Working hours: Monday to Friday, 9:00-17:30, holidays off

Follow wechat
Scan wechat and follow us

Scan wechat and follow us

Follow Weibo
Back to top