Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GO High Level Node error #12689

Open
GustavoSantiagoB opened this issue Jan 17, 2025 · 4 comments
Open

GO High Level Node error #12689

GustavoSantiagoB opened this issue Jan 17, 2025 · 4 comments
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@GustavoSantiagoB
Copy link

Describe the problem/error/question

I have an error when authenticating my Go High Level

In the tutorials I see, it always comes with the N8N URL:

https://n8n.growth-consulting.io/rest/oauth2-credential/callback

My URL on the Go High Level node is:

https://oauth.n8n.cloud/oauth2/callback

With the HTTPS node using oauth 1 it didn't work either, always giving error 400 when connecting to the account

What is the error message (if any)?

Request failed with status code 400

Please share your workflow/screenshots/recording

Image

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Error details

From HTTP Request
Error code

422

Full message

422 - "{"message":["grant_type must be a valid enum value","grant_type should not be empty"],"error":"Unprocessable Entity","statusCode":422,"traceId":"4e7614ed-7f3e-4881-992c-292d2e871e3e"}"
Request

{ "body": { "client_id": "678a5616a242015e93d1cfa8-m610p3ei", "client_secret": "11815465-bfce-452e-a34f-96c4ff422b4e", "grant_type": "" }, "headers": { "accept": "application/json,text/html,application/xhtml+xml,application/xml,text/;q=0.9, image/;q=0.8, /;q=0.7", "Authorization": "hidden" }, "method": "POST", "uri": "https://services.leadconnectorhq.com/oauth/token", "gzip": true, "rejectUnauthorized": true, "followRedirect": true, "resolveWithFullResponse": true, "followAllRedirects": true, "timeout": 300000, "qs": { "contactId": "qaBpiaitNLTVGhyaLcq1" }, "encoding": null, "json": false, "useStream": true }
Other info
Item Index

0

Node type High Level

n8n-nodes-base.httpRequest

Node version

4.2 (Latest)

n8n version

Image

1.74.1 (Cloud)

Time

17/01/2025, 16:27:59

Stack trace

NodeApiError: Your request is invalid or could not be processed by the service at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1297:19) at processTicksAndRejections (node:internal/process/task_queues:95:5) at ExecuteContext.requestWithAuthentication (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1480:20)

Share the output returned by the last node

Debug info

core

  • n8nVersion: 1.74.1
  • platform: npm
  • nodeJsVersion: 20.18.0
  • database: sqlite
  • executionMode: regular
  • concurrency: 5
  • license: community

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 168 hours
  • maxCount: 2500 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/131.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-01-17T16:39:34.233Z}

@Joffcom
Copy link
Member

Joffcom commented Jan 17, 2025

Hey @GustavoSantiagoB,

We have created an internal ticket to look into this which we will be tracking as "N8N-8148"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label Jan 17, 2025
@Joffcom
Copy link
Member

Joffcom commented Jan 17, 2025

Hey @GustavoSantiagoB

That error is coming from HighLevel, it looks like you have not set the required scopes in the app.

@Joffcom
Copy link
Member

Joffcom commented Jan 20, 2025

Hey @GustavoSantiagoB,

Can you try 1.75 I have just given it a quick test and it appears to be working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants