cli not accepting project token

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

21 Replies

a year ago

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


a year ago

even followed the blog post you guys made 😅

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



a year ago

@Shreyas


a year ago

oh helloo


a year ago

i just wanna deploy my project 😭


a year ago

this works with account token

1323961983992729600


a year ago

not ideal but works for now


a year ago

okay so its just project tokens not working?


a year ago

seems like it


a year ago

cli not accepting project token


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


a year ago

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


a year ago

docs could be wrong 😅


a year ago

This doesn't work with a project key either


a year ago

probably


maddsua
HOBBY

a year ago

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


a year ago

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


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


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


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


Loading...