Hey guys,
I’m kind of stuck as neither Gemini nor Claude can help me solve this.
I am trying to use the Hubspot MCP server node with the MCP OAuth2 API inside n8n with the following settings:
| Grant Type |
PKCE |
| Authorization URL |
https://mcp.hubspot.com/oauth/authorize |
| Access Token URL |
https://api.hubapi.com/oauth/v1/token |
| Client ID |
Hubspot ID |
| Client Secret |
Hubspot MCP App Secret |
| Scope |
oauth |
| Authentication |
Send credentials in Body |
| Auth URI Query Parameters |
Leave empty |
Once i try to connect the app, choose my account and enable different permission scopes i finally retrieve this error.
Anyone knows how to solve this?
THANKS!
Runnning the n8n instance on 2.2.3 via Hostinger VPS.
@Miliaga Thanks for the reply.
I swapped to “Authorization Code” as Grant Type and tried different URLs.
Getting another error this time. Can you help us out and maybe test this on your side here?
n8n docs for this unfortunately lead to a404 blank page.
Much appreciated.
Thanks guys. Adjusted the URLs and now I get this error message:
”Error: Insufficient parameters for OAuth2 callback.
More details
Received following query parameters: {"error":"invalid_request","error_description":"Missing or unknown code challenge","
Any ideas?
//Claude tells me this:
The issue is tracked here: GitHub Issue #22103
nope, does not work.
seems like i go back to classic work and just add different API endpoint calls as tools attached to an agent…