When trying to list the rights to receive:
403 Forbidden { "code" : 403, "errors" : [ { "domain" : "global", "message" : "Insufficient Permission", "reason" : "insufficientPermissions" } ], "message" : "Insufficient Permission" }
I am using "WithInstalledApplication" authorization using client_secrets json.
IMPORTANT: Any other listing works correctly (apks, inappproducts, ...). I only have this rights issue.
I am also sure that the source code is correct, but for reference only:
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());
Thanks for your suggestions.
source share