CodeMagic Error, can't publish to google store
Asked Answered
E

5

8

It's my first time linking with codemagic, and I'm trying to link my GitHub to the store, then I have received this error,

Publishing failed :| Google Play failed to upload artefacts. The caller does not have permission: { "error": { "code": 403, "message": "The caller does not have permission", "status": "PERMISSION_DENIED" } }

Egon answered 5/5, 2021 at 14:41 Comment(0)
H
9

I think the permission for the service account to access your application is not properly set up.

I would pay very close attention starting from the 8th point in this tutorial: https://docs.codemagic.io/knowledge-base/google-play-api/

However, I also think that sometimes Google takes some time to get it going, in any case, I would retry creating the service account and paying very close attention to all the details - make sure the service account has access to the right application (also check your bundle id in your local settings etc).

Headboard answered 6/5, 2021 at 6:14 Comment(2)
The link is expiredSeamus
docs.codemagic.io/yaml-publishing/google-playGlucose
D
2

Based on the CodeMagic documentation:

https://docs.codemagic.io/flutter-publishing/publishing-to-google-play/

It seems that the first time required to upload the AAB manually to the Google Play Store.

The very first version of the app must be added to Google Play manually. You can download the app_release.aab from the build artifacts. In addition, each uploaded binary must have a different version; see how to automatically increment build version on Codemagic.

Dispirited answered 25/3, 2022 at 15:51 Comment(0)
L
2

In my case I've forgotten to invite service account as user in Google Play Console.

Limemann answered 26/7, 2022 at 11:54 Comment(0)
G
1

For me, I hadn't properly 'invited' the service account into my google play console (Google Play Console -> Setup -> Users and Permissions) my users list now shows my personal user + the google cloud service account user.

Glucose answered 25/6, 2023 at 7:13 Comment(0)
A
0

You need to add the gcloud craeated account to Google Developer Console.

enter image description here

Allomorphism answered 25/4 at 6:49 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.