Bad credentials
jeet-gangele
PROOP

a month ago

getting Bad credentials error when deploying new code

Solved$20 Bounty

6 Replies

Status changed to Open Railway about 1 month ago


desphixs
HOBBY

a month 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:

  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


Status changed to Awaiting User Response Railway about 1 month 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

jeet-gangele
PROOP

a month 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 about 1 month 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

jeet-gangele
PROOP

a month ago

Manual deploy (ctrl + k) - deploy latest commit also failing.


is that a database error?


mayoriii

is that a database error?

jeet-gangele
PROOP

a month 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 about 1 month ago


jeet-gangele
PROOP

a month 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 about 1 month ago


Status changed to Solved jeet-gangele about 1 month ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...