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.