Hubspot OAuth2Api Refresh Token

The Problem

Hi there n8n team. I am trying to connect hubspot using the generic OAuth2Api. The connection is not refreshing the token (its expiring after 30 minutes). I went through the other topics raised for similar issue but couldn’t find a permanent fix for this. Would be great if there is a way to fix this.

  • Database: Postgres
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi @Yash_Khatri, I am sorry you’re having trouble.

Can you confirm which version of n8n and which credentials type exactly you are using? Is this any of the Hubspot-specific credentials or are you using generic OAuth2 credentials here? How did you set up these credentials?