Unknown Error while using Hubspot node > Engagement > Email

Hello community !

I have a workflow error that remains a mystery to me.
In most cases it’s working, but suddenly, no more:

The logic is the following:

  • I’m reading the new email
  • Extracting the text
  • If they are already stored, I’m ignoring them
  • If not, I’m storing the email in Hubspot.


I’ve checked multiple times and the metadata are good:

But still, I’m receiving an error :

Here is the error message:


NodeApiError: UNKNOWN ERROR - check the detailed error for more information
    at Object.hubspotApiRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Hubspot/GenericFunctions.js:49:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Hubspot/Hubspot.node.js:2005:44)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:659:28)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:585:53

Any idea ?


It’s working now :slight_smile:
In case you are facing the same problem
Simply add a set node before Hubspot, it’s more robust and working great.


Glad to hear you figured it out @fischera, thank you so much for sharing your solution! Still seems odd this additional Set node was necessary in the first place. I guess the data types arriving on the Set node could change for some datasets?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.