cli not accepting project token

2 years ago

i have the following envs set and i still get an error about needing to login when running railway link or even railway whoami

Unauthorized. Please login with railway login

RAILWAY_API_TOKEN
RAILWAY_SERVICE_ID
RAILWAY_PROJECT_ID
RAILWAY_ENVIRONMENT_ID
Closed

21 Replies

2 years ago

debcdbe9-f7d2-467b-92ce-52618e049e01


2 years ago

even followed the blog post you guys made 😅

https://blog.railway.com/p/comparing-deployment-methods-in-railway



2 years ago

@Shreyas


2 years ago

oh helloo


2 years ago

i just wanna deploy my project 😭


2 years ago

this works with account token

1323961983992729610


2 years ago

not ideal but works for now


2 years ago

okay so its just project tokens not working?


2 years ago

seems like it


2 years ago

cli not accepting project token


2 years ago

@Brody does the cli work for you with a project api key?

you said in the github comments just to update. (trying to workout if it’s a bug or a me issue)


2 years ago

Just following the cli docs doesn't work with project api key so I don't see how that' s a you problem


2 years ago

docs could be wrong 😅


2 years ago

This doesn't work with a project key either


2 years ago

probably


maddsua
HOBBY

2 years ago

Yo, any updates so far? Should I look into the cli source code?


2 years ago

could we start over, what is the end goal here?


2 years ago

huh? it’s pretty clear. the docs suggest the token can be used. it can’t. this use to work then you guys made changes and it didn’t. there’s no tests to show it not working. this should have been rolled back.

not gonna lie seeing you tell people to update and then no follow up when the entire issue mentioned it breaking AFTER updating ain’t it.


2 years ago

right but what is your end goal, i know what commands you are trying to run, but i dont know what you are attempting to accomplish


2 years ago

no. this ain’t it. that has nothing to do with this.

the issue is project tokens don’t work. stop trying todo your sales thing and just fix the issue.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...