When trying to deploy from github, I just keep getting "Not Authorized"
jordansoltman
HOBBYOP

8 months ago

Railway just says "not authorized" with no further errors. It's already connected to github just fine and will show my list of projects.

Attachments

Solved

14 Replies

8 months ago

Hi Jordan,

Does this happen for any repo you try to connect or only to a specific repo(s)?

Regards,

Christian


Status changed to Awaiting User Response Railway 8 months ago


jordansoltman
HOBBYOP

8 months ago

Appears to be happening with every single one of my repos.


Status changed to Awaiting Railway Response Railway 8 months ago


jordansoltman
HOBBYOP

8 months ago

I've tried removing the integration, and adding it back, but still getting the same error.


Can you give me the affected service that you are trying to link your GH to?


Status changed to Awaiting User Response Railway 8 months ago


jordansoltman
HOBBYOP

8 months ago

I'm trying to start a new service.

https://drive.google.com/file/d/1uJUSyjhdL4i1w_6sms_M7HjhlrBLSX_9/view?usp=sharing

^ video of what's happening


Status changed to Awaiting Railway Response Railway 8 months ago


8 months ago

Hi Jordan,

It looks like an issue with access scopes. Can you please check that you've granted proper access to your repos / orgs to the GitHub Railway App?

You can edit Scope following these steps:

  1. Go to your Account page

  2. In the Account Integrations section where your GitHub account is listed, click "Edit Scope"

  3. In the new window, click Configure next to your account and your org(s)

  4. Under Repository Settings, ensure that "All repositories" is selected if you expect access to everything

Regards,
Christian


Status changed to Awaiting User Response Railway 8 months ago


jordansoltman
HOBBYOP

8 months ago

All repositories is selected. I've even tried completely disconnecting github and adding it back with "All Repositories" and still getting the same error.


Status changed to Awaiting Railway Response Railway 8 months ago


Railway
BOT

8 months ago

Hello!

We've escalated your issue to our engineering team.

We aim to provide an update within 1 business day.

Please reply to this thread if you have any questions!

Status changed to Awaiting User Response Railway 8 months ago


8 months ago

Hello,

We implemented extra tracing around this functionally, can you please try again, and this time, if you could, open the network tools so that you can grab the trace id.

Best,
Brody


jordansoltman
HOBBYOP

8 months ago

Hi Brody,

I'm getting a flood of errors. Here are some of them:

Railway API error with id: 8023351605813110924

_app-026c69bc774e0c9f.js:1 Railway API error with id: 3770618829550504165

_app-026c69bc774e0c9f.js:1 Railway API error with id: 1068373749884102931

_app-026c69bc774e0c9f.js:1 Railway API error with id: 1088945515801754930

_app-026c69bc774e0c9f.js:1 Railway API error with id: 8737463988180272175

_app-026c69bc774e0c9f.js:1 Railway API error with id: 8042996955443423840

_app-026c69bc774e0c9f.js:1 Railway API error with id: 7653817176467999467

_app-026c69bc774e0c9f.js:1 Railway API error with id: 4482563053406470036


Status changed to Awaiting Railway Response Railway 8 months ago


jordansoltman
HOBBYOP

8 months ago

Oh sorry, you wanted the trace id:

{

"message": "Not Authorized",

"locations": [

{

"line": 2,

"column": 3

}

],

"path": [

"workspace"

],

"extensions": {

"code": "INTERNAL_SERVER_ERROR"

},

"traceId": "7185829940292940111"

}


8 months ago

Thank you for that, I'll report this to our product engineer.


Status changed to Awaiting User Response Railway 8 months ago


8 months ago

Hey Jordan, could you send a screenshot of your dashboard page? Please include the full page in the screenshot.

For context, there are 2 projects that you're a member of (but you aren't a part of those teams) and the system thinks you're trying to create new projects within those teams and hence the error.


jordansoltman
HOBBYOP

8 months ago

Ah, that's confusing. Okay I see now! Thanks so much for the support!


Status changed to Awaiting Railway Response Railway 8 months ago


Status changed to Solved chandrika 8 months ago


Railway
BOT

8 months ago

✅ The internal ticket Not Authorized when trying to create new services from GitHub has been marked as completed.


Loading...