Firebase-Distribution-Github-Action icon indicating copy to clipboard operation
Firebase-Distribution-Github-Action copied to clipboard

"Firebase App Distribution Admin" role is missing

Open raxden opened this issue 2 years ago • 4 comments

I know that is not related to the plugin, but... I'm really struggling to try to set the role of "Firebase App Distribution Admd" to my service account:

image

I don't know why the role is not available when I try to create the service account... checking the all roles available it seems that exists:

image

But.. as I say before.. the role is not available to attach to my service account.. so Im receiving the following error:

App Distribution halted because it had a problem uploading the APK: [403] The caller does not have permission

Any advice will be appreciated! Thanks

raxden avatar Feb 12 '23 14:02 raxden

I am experiencing the same issue. One thing that I have tried is to create a custom role from the Firebase App Distribution Admin role and create a service using that role. That creation does succeed, however; I am still getting an error when the github action runs.

Error: failed to upload release. HTTP Error: 403, The caller does not have permission

In addition to that I have enabled the debug flag and I do not see any additional logging.

      - name: upload artifact to Firebase App Distribution
        uses: wzieba/Firebase-Distribution-Github-Action@v1
        with:
          debug: true
          appId: ${{secrets.FIREBASE_APP_ID_DEV}}
          serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
          groups: my-group
          file: app-signed.apk
          releaseNotesFile: ./release-notes.txt

Any help would be appreciated.

rindress avatar Feb 16 '23 15:02 rindress

I don't have an idea why this role might not be available. What I can suggest is asking this question in Firebase Slack workspace. I'm sure there's someone who could help you!

When you'll resolve the issue - can I ask you to provide the solution here, for anyone struggling with similar issues? Thank you in advance.

wzieba avatar Feb 17 '23 14:02 wzieba

Certainly. Hopefully someone has an answer. In the meantime what I did was to create a custom one based off Firebase App Distribution Admin. However, even after doing that it still does not seem to work.

rindress avatar Feb 17 '23 18:02 rindress

I am experiencing the same issue. One thing that I have tried is to create a custom role from the Firebase App Distribution Admin role and create a service using that role. That creation does succeed, however; I am still getting an error when the github action runs.

Error: failed to upload release. HTTP Error: 403, The caller does not have permission

In addition to that I have enabled the debug flag and I do not see any additional logging.

      - name: upload artifact to Firebase App Distribution
        uses: wzieba/Firebase-Distribution-Github-Action@v1
        with:
          debug: true
          appId: ${{secrets.FIREBASE_APP_ID_DEV}}
          serviceCredentialsFileContent: ${{ secrets.CREDENTIAL_FILE_CONTENT }}
          groups: my-group
          file: app-signed.apk
          releaseNotesFile: ./release-notes.txt

Any help would be appreciated.

Hey did you solve your issue, Having the same one.

Fujiwara16 avatar May 30 '23 10:05 Fujiwara16