GitHub Repo not found
tokamaky
HOBBYOP

3 months ago

I’m able to successfully deploy my project from GitHub to Railway, so the repository connection itself works.

However, I’m currently unable to switch branches in Railway.

Current situation:

  • The project deploys correctly from the default branch.
  • When I try to change the production branch to another existing branch in the repository, Railway does not detect or allow switching to it.
  • The branch definitely exists on GitHub.
  • GitHub App permission is set to “All repositories”.
  • I have already tried disconnecting and reconnecting GitHub.
  • Any help would be appreciated. Thank you!
Solved

2 Replies

Status changed to Awaiting Railway Response Railway 3 months ago


sam-a
EMPLOYEE

3 months ago

We can see your project is deploying successfully, so the repo connection itself is working fine. The branch switching issue is typically caused by a stale GitHub App token.

Can you try fully revoking the Railway GitHub App and reconnecting it?

1. Go to GitHub > Settings > Applications > Railway and revoke access

2. Then reconnect from Railway's dashboard under Settings > General > GitHub

If the repo is in a GitHub organization, also make sure the org admin has approved the Railway GitHub App under the org's "Installed GitHub Apps" settings.

Let us know if that does not solve your issue.


Status changed to Awaiting User Response Railway 3 months ago


tokamaky
HOBBYOP

3 months ago

it works! Thanks!


Status changed to Awaiting Railway Response Railway 3 months ago


Status changed to Solved noahd 3 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...