Unauthorized. Please login with
railway login
michaelmaust
FREEOP

4 months ago

After I login and successfully link to a project, I then try running railway status and it keeps returning:

Unauthorized. Please login with `railway login

CLI Version: v4.10.0

30 Replies

4 months ago

What version of the CLI are you on?


michaelmaust
FREEOP

4 months ago

v4.10.0


michaelmaust
FREEOP

4 months ago

It happens on v4.11.0 as well


michaelmaust
FREEOP

4 months ago

Anyone have any ideas? I've tried just about everything to try and get the CLI to work. I had it working perfectly fine for the past few weeks and all of a sudden today it decides not to work


4 months ago

Can I get a link to the project which youare trying to connect to?


michaelmaust
FREEOP

4 months ago

It’s for my company that I work for


4 months ago

Thats fine! No users are able to see it only staff members.
Simply copy the URL from your search bar in the browser



michaelmaust
FREEOP

4 months ago

I also had co-worker logout and try logging back in to Railway via the CLI and now he's having the same issue


4 months ago

Thanks, having lunch but will look into


michaelmaust
FREEOP

4 months ago

Thank you


michaelmaust
FREEOP

4 months ago

So, I tried linking to a personal project that I just created for myself and that is able to link correctly via the CLI. So, it just appears to be an issue isolated to our company's workspace projects


4 months ago

Can you try on your companies workspace again? We just merged a fix


michaelmaust
FREEOP

4 months ago

Yeah, 1 sec


michaelmaust
FREEOP

4 months ago

1437885237307904000


michaelmaust
FREEOP

4 months ago

It still error out when I try getting the status


michaelmaust
FREEOP

4 months ago

Let me try something else. I think it is partially working


michaelmaust
FREEOP

4 months ago

Yeah, still having issues


4 months ago

Oop looked like it hadnt deployed yet. I'd give it a minute or so


michaelmaust
FREEOP

4 months ago

Okay, it's working now. Thank you!


4 months ago

Oh lovely!


michaelmaust
FREEOP

4 months ago

Out of curiosity, what was causing the issue?


Anonymous
PRO

4 months ago

im still having the issue, is there something else I have to do?


4 months ago

Have you run railway login since then? And does railway whoami show the correct account?


Anonymous
PRO

4 months ago

yes I ran railway login, says success, then cli still says unauthorized


4 months ago

if you run railway -V what version are you on?


Anonymous
PRO

4 months ago

railway 4.11.0


Anonymous
PRO

4 months ago

?


Anonymous
PRO

4 months ago

been waiting all day, this really sucks:(


Do you have a railway.json


Loading...