Error trying to connect to Hubspot

I’m trying to connect to Hubspot. I log in through my developer account, created the app, entered all the required credentials, and set the OAuth URL. When I try to connect using my account, I select it and get the error shown in the screenshot. I’ve been in contact with Hubspot support (screenshot also attached), and after several tests, they confirmed that the error originates from n8n and not from Hubspot.

Information on your n8n setup

  • n8n version: 1.93.0
  • Database (default: SQLite): -
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): selfhosted
  • Operating system: macOS Sonoma 14.5