Linear Oauth2 API credential fails with 503 error
What is the error message (if any)?
Once I authorize the app in the pop up, it redirects me to https://**-app.n8n.cloud/rest/oauth2-credential/callback and shows the following message:
#### Error: Request failed with status code 503
More details
Failed to connect. The window can be closed now.
This error only happens when the credential is used with the actor=app, however if I use user, it works just fine.
Please share your workflow
I don’t currently have a workflow as the problem happens when I am trying to authenticate to Linear from the credentials screen.
Information on your n8n setup
- n8n version: 1.94.1
- Database (default: SQLite): Cloud version
- n8n EXECUTIONS_PROCESS setting (default: own, main): -
- Running n8n via (Docker, npm, n8n cloud, desktop app): n8n cloud
- Operating system: -
Also facing the same, did you manage to solve it?
kawa
3
@hemant6 Could you solve it? I’m facing the same issue
Sadly I have not been able to solve it
ckd
5
if you self host it, try adding the url with the port to the redirect urls in linear. i created two lines
https:// your-domain.tld/rest/oauth2-credential/callback
https:// your-domain.tld:PORTNUMBER/rest/oauth2-credential/callback
worked for me
Sadly I am not self hosting, but using the cloud version
I opened a PR about this: fix(core): Replace deprecated 'application' actor value with 'app' in Linear OAuth by adriencohen · Pull Request #20985 · n8n-io/n8n · GitHub
There is a temporary workaround
If you’re currently blocked, copy the OAuth URL opened by n8n, replace application with app, and continue the flow. It will work as expected.
system
Closed
8
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
jan
9
New version [email protected] got released which includes the GitHub PR 20985.