gradle-play-publisher: 403 Permission denied :/
Hi, Im using version 2.8.0.
I’m trying to setup gpp in a project, which was not new. I successfully used gpp without a problem in previous projects. However now I keep getting 403 Permission denied.
I get that it’s most likely service account setup wrongly, however I have 0 clues left as what could I have done wrong as I followed your guide, and various guides on internet as well, and visually it checks out but yet
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':generateEditForSkDotTmDotMobile'.
> A failure occurred while executing com.github.triplet.gradle.play.tasks.GenerateEdit$Generator
> 403 Forbidden
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/sk.tm.mobile/edits
{
"code" : 403,
"errors" : [ {
"domain" : "global",
"message" : "The caller does not have permission",
"reason" : "forbidden"
} ],
"message" : "The caller does not have permission",
"status" : "PERMISSION_DENIED"
}
All the damn time. I tried creating multiple gcp projects, adding removing them, creating removing service account, givin them Owner role, or admin uiser permissions in Play console… I’m getting desperate
If you could help, I’d be so glad
// Maybe one more clue. In the new redesigned Play console, whever I click ‘API Access’, I get “Unexpected error bla bla. Try again”. So I switched to the classic visuals, and there it appears to be working – maybe a Google issue afterall?
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 24
The main thing is that the GCP project from which you export credentials must be linked to your account here: https://play.google.com/console/u/0/developers/api-access. And it has to be given access here: https://play.google.com/console/u/0/developers/users-and-permissions