[BUG] Failing to deploy on preview due to extra dash in target `channelId`
See original GitHub issueAction config
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_PRJCT_ME }}'
projectId: prjct-me
Error message
/opt/hostedtoolcache/node/12.22.6/x64/bin/npx firebase-tools hosting:channel:deploy pr7-feature_react-route- --expires 7d --project prjct-me --json
***
"status": "error",
"error": "HTTP Error: 400, Request contains an invalid argument."
***
***
"status": "error",
"error": "HTTP Error: 400, Request contains an invalid argument."
***
Expected behavior
Action continues to deploy the hosting app on preview
Actual behavior
Action failed to run due to an invalid argument. It seems that the error is on the parameter after deploy
(i.e., pr7-feature_react-route-
. For reference, the PR branch I’m working on is feature/react-route-pages
, so it left out the pages
bit. I’m fine with any name, but some truncation might be needed to remove extra dashes.
EDIT: Just saw that there’s a channelId
field but I think this is still worth checking for autogenerated IDs.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:9
Top Results From Across the Web
hosting:channel:deploy with new channel returns 400 ... - GitHub
So far I've hit this error in: Github Actions (build_and_preview); Locally in multiple accounts, with pre-existing and new projects. [REQUIRED] ...
Read more >Cannot Preview View When Target is IOS And Watch Extension
If the target is only watch, there's no problem. But if the scheme is Apple Watch, and the target is both IOS and...
Read more >Preview - Channel - PRTG Network Monitor - Version History
We fixed an issue for the HTTP Push Data sensor that showed an access violation error with the message Failed to handle request....
Read more >REST API Developer Guide
Use this guide to set up your deployment environment and learn about advanced details ... GET or HEAD requests, and a 412 Precondition...
Read more >Release Notes for LiveSwitch Server v1.0 - v1.11
Fixed a bug where changing the direction of an MCU/SFU audio stream from sendrecv/sendonly to inactive/recvonly (disabling it) and then back to ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’ve tested again, and now it’s working, maybe the error came from firebase directly, can you test it again guys?
Thanks @danieljimeneznz, in which case I’ll close this one and refer to #3768. Cheers mate. 🥂