14 days ago
getting Bad credentials error when deploying new code
6 Replies
Status changed to Open Railway • 14 days ago
14 days ago
that bad creds error on railway usually happens when links between railway and or github got outta sync, it common if you maybe renamed the repo or tansffered it to a different account, try this and let me know if it works:
- go to your railway project settings
- unlink the current github account completely
- relink it right back
this should force railway to clear cached token and a do fresh credential exchagne with gh
let me know if this does not work, also can you give more context to what you're building this will help us debug it better
Status changed to Awaiting User Response Railway • 14 days ago
desphixs
that bad creds error on railway usually happens when links between railway and or github got outta sync, it common if you maybe renamed the repo or tansffered it to a different account, try this and let me know if it works: 1. go to your railway project settings 2. unlink the current github account completely 3. relink it right back this should force railway to clear cached token and a do fresh credential exchagne with gh let me know if this does not work, also can you give more context to what you're building this will help us debug it better
14 days ago
this project is not new. it should not happen. checked GitHub commit history and railway commit. It has only one new commit which I want to deploy
Status changed to Awaiting Railway Response Railway • 14 days ago
desphixs
that bad creds error on railway usually happens when links between railway and or github got outta sync, it common if you maybe renamed the repo or tansffered it to a different account, try this and let me know if it works: 1. go to your railway project settings 2. unlink the current github account completely 3. relink it right back this should force railway to clear cached token and a do fresh credential exchagne with gh let me know if this does not work, also can you give more context to what you're building this will help us debug it better
14 days ago
Manual deploy (ctrl + k) - deploy latest commit also failing.
mayoriii
is that a database error?
14 days ago
DB is up it's separate service.I tried adding one more commit. it identified change and triggered deployment but failed
here's what it says,
Initialization › Snapshot code
(00:02)
[ERROR] ##NOT-AUTHORIZED## repository not authorized
Status changed to Solved jeet-gangele • 14 days ago
14 days ago
I pushed few more commits one by one and currently it's building image.
Railway team might need to find out reason for this
thanks!
Status changed to Awaiting Railway Response Railway • 14 days ago
Status changed to Solved jeet-gangele • 14 days ago
