Comments (3)
Same here, I had this working a couple of weeks ago but I'm getting this error as well.
Error: failed to determine AAB info. HTTP Error: 401, Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.
[2022-03-10T06:25:38.224Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2022-03-10T06:25:38.225Z] > authorizing via FIREBASE_TOKEN environment variable
[2022-03-10T06:25:38.229Z] > refreshing access token with scopes: ["email","https://www.googleapis.com/auth/cloud-platform","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","openid"]
[2022-03-10T06:25:38.229Z] >>> HTTP REQUEST POST https://www.googleapis.com/oauth2/v3/token
<request body omitted>
[2022-03-10T06:25:38.282Z] <<< HTTP RESPONSE 400 ***"expires":"Mon, 01 Jan [19](https://github.com/valartech/broachcutter-vendor-app/runs/5491580225?check_suite_focus=true#step:14:19)90 00:00:00 GMT","cache-control":"no-cache, no-store, max-age=0, must-revalidate","date":"Thu, 10 Mar [20](https://github.com/valartech/broachcutter-vendor-app/runs/5491580225?check_suite_focus=true#step:14:20)[22](https://github.com/valartech/broachcutter-vendor-app/runs/5491580225?check_suite_focus=true#step:14:22) 06:25:38 GMT","pragma":"no-cache","content-type":"application/json; charset=utf-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","server":"scaffolding on HTTPServer2","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"***
[2022-03-10T06:25:38.283Z] >>> HTTP REQUEST GET https://firebaseappdistribution.googleapis.com/v1/projects/704447610659/apps/***/aabInfo
[2022-03-10T06:25:38.349Z] <<< [apiv2][status] GET https://firebase-public.firebaseio.com/cli.json 200
[2022-03-10T06:[25](https://github.com/valartech/broachcutter-vendor-app/runs/5491580225?check_suite_focus=true#step:14:25):38.349Z] <<< [apiv2][body] GET https://firebase-public.firebaseio.com/cli.json ***"cloudBuildErrorAfter":1594252800000,"cloudBuildWarnAfter":1590019200000,"defaultNode10After":1594252800000,"minVersion":"3.0.5","node8DeploysDisabledAfter":1613390400000,"node8RuntimeDisabledAfter":1615809600000,"node8WarnAfter":1600128000000***
[2022-03-10T06:25:38.462Z] <<< HTTP RESPONSE 401 ***"www-authenticate":"***"[https://accounts.google.com/\](https://accounts.google.com//)", error=\"invalid_token\"","vary":"X-Origin, Referer, Origin,Accept-Encoding","content-type":"application/json; charset=UTF-8","date":"Thu, 10 Mar 2022 06:25:38 GMT","server":"ESF","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3=\":443\"; ma=2592000,h3-29=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"***
[2022-03-10T06:25:38.463Z] <<< HTTP RESPONSE BODY ***"error":***"code":401,"message":"Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid authentication credential. See https://developers.google.com/identity/sign-in/web/devconsole-project.","status":"UNAUTHENTICATED"***
There seems to be a 400 response for the token refresh. Maybe their API structure expects something else now?
from firebase-distribution-github-action.
me too
"message": "Request had invalid authentication credentials. Expected OAuth 2 access token, login cookie or other valid
from firebase-distribution-github-action.
Thanks for the reports.
I just run test scenarios and the action is working correctly: https://github.com/wzieba/Firebase-Distribution-Github-Action/runs/5806759755?check_suite_focus=true
Please make sure you generate a valid token as explained here #10 (comment).
Please remember that every token has its validity period, so maybe you need to re-generate a new one if it was working for you before.
I'm closing this issue as there's nothing I can do in the action code itself to resolve the described problem.
from firebase-distribution-github-action.
Related Issues (20)
- Supporting keyless authentication in Google Cloud from GitHub Actions HOT 2
- Leaving the minor and patch out of the declaration isn't pulling latest HOT 1
- Error: Failed to authenticate, have you run firebase login? HOT 2
- Failed to authenticate, have you run firebase login? HOT 5
- Failing Upload does not cause action to fail. HOT 3
- Error: failed to determine AAB info
- Build version increment? HOT 2
- Failed to add secrect CREDENTIAL_FILE_CONTENT into Github HOT 2
- Run wzieba/Firebase-Distribution-Github-Action@v1 takes a lot of time HOT 1
- mutitple groups for firebase distribution HOT 1
- Error: Container action is only supported on Linux for windows OS HOT 1
- Error: Docker build failed with exit code 1 HOT 2
- ./gradlew assembleRelease permission denied HOT 1
- Error: failed to upload release. HTTP Error: 400, Precondition check failed. HOT 1
- Package tries to upload .IPA instead of .APK HOT 3
- How to cleanup/delete uploaded distributions?
- can i use it in azure-pipelines HOT 1
- apk does not exist: verify that file points to a binary : Issue HOT 4
- Fastlane Automated Tests HOT 2
- Failed to upload the multiple apk's HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebase-distribution-github-action.