a month ago
My Railway CLI is logged in successfully, but I cannot connect my existing Railway service to my GitHub repository.
GitHub repository: mydem11md-droid/quizora
Branch: quizora-final-clean
Railway service: Quizora
Environment: production
The command fails with:
"User does not have access to the repo"
I checked the Railway GitHub integration, granted the Railway GitHub App access to the repository, and tried reconnecting the integration, but the error persists.
How can I fix the repository authorization so I can connect the existing service without deleting it?
1 Reply
a month ago
That error comes from the GitHub account linked to your Railway login rather than from the GitHub App alone, so the connection needs both sides to see the repo: your linked GitHub account must have access to the repository, and the Railway GitHub App must have access to it with no pending permission updates waiting for approval in your GitHub installation settings.
Once both are in place, wait a few minutes for our cache to refresh, then in the project canvas use Add -> GitHub Repository -> Refresh to force the repo list to update before connecting it from the Quizora service's settings again. If it still fails after that, uninstalling and reinstalling the Railway GitHub App from GitHub clears stale permissions. None of this requires deleting the service, see Controlling GitHub Autodeploys for the full troubleshooting list.
Status changed to Awaiting User Response Railway • about 1 month ago
24 days ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 24 days ago