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

a year 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

a year 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

a year 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

a year ago

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


Status changed to Awaiting User Response Railway over 1 year ago


strellic9
PROOP

a year ago

didnt help, same error


Status changed to Awaiting Railway Response Railway over 1 year ago


brody
EMPLOYEE

a year 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

a year 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


brody
EMPLOYEE

a year 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

a year ago

ive just said it - version is 3.15.3 :)

Attachments


Status changed to Awaiting Railway Response Railway over 1 year ago


strellic9
PROOP

a year ago

here


brody
EMPLOYEE

a year 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

a year ago

yes this worked, thanks!


Status changed to Awaiting Railway Response Railway over 1 year ago


brody
EMPLOYEE

a year ago

No problem!


Status changed to Awaiting User Response Railway over 1 year ago


Loading...