cant use railway CLI - on login "Found invalid RAILWAY_TOKEN"
strellic9
PROOP

2 years ago

Error happens on 'railway login' and goes like this - Found invalid RAILWAY_TOKEN Unauthorized

tried to uninstall railway and re-install, tried to logout login to railway, tried turning on VPN, tried using different browser - didnt help

Solved

12 Replies

unicodeveloper
PRO

2 years ago

Hi, when you tried the railway login command, did you select the option to open your browser? and where you logged in to Railway on your browser?


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

2 years ago

hi, it doesnt ask me for options after 'railway login'. The error appears immediately after entering command

>where you logged in to Railway on your browser? - not sure i understand that one. Type of login - github, email never worked for me almost from the point ive started using railway, the loading sign just spins infinitely


Status changed to Awaiting Railway Response Railway over 1 year ago


unicodeveloper
PRO

2 years ago

Try using the --browserless flag: $ railway login --browserless


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

2 years ago

didnt help, same error


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

What version of the CLI are you on? please make sure you are on the latest version, as of writing it is v3.15.3


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

2 years ago

im on 3.15.3. Live ive written above, ive tried re-installing railway CLI today, so yeah, i have the latest ver


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

I don't see where you have said the version you are on, please verify you are on the latest version.


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

2 years ago

ive just said it - version is 3.15.3 :)

Attachments


Status changed to Awaiting Railway Response Railway over 1 year ago


strellic9
PROOP

2 years ago

here


2 years ago

Then I wasn't understanding what "Live ive written above" means, my apologies.

Please try deleting the .railway folder in your home dir.


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

2 years ago

yes this worked, thanks!


Status changed to Awaiting Railway Response Railway over 1 year ago


2 years ago

No problem!


Status changed to Awaiting User Response Railway over 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...