railway up
fails with
Failed to upload code with status code 403 Forbidden
leka74
HOBBYOP

10 months ago

This happened suddenly, another build 20 mins ago succeeded fine.

I'm running it on github actions

Run railway up --service=b8e42c63-2baf-4d9c-b3bf-cc38a3c0c3fc --environment staging
Indexing...
Uploading...
Failed to upload code with status code 403 Forbidden
Error: Process completed with exit code 1.

I am using a RAILWAY_TOKEN to deploy.

Closed

3 Replies

10 months ago

Have you authorized your Railway CLI in GitHub actions?

https://docs.railway.com/guides/cli#project-tokens


leka74
HOBBYOP

10 months ago

That is set up correctly yes. As I said, 20 minutes before the first failure it was working fine. And has been working fine in the last couple of months. Now I keep getting a 403.


leka74
HOBBYOP

10 months ago

Doing it locally seems to work for now, via github tho doesnt work. I'm using railway 4.10.0 locally and ghcr.io/railwayapp/cli:latest on github actions.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...