ERROR: Request path contains unescaped characters - on a HTTP request Node


I’m working on pushing contacts, custom objects and associating them on Hubspot via HTTP request but I can’t understand what character on my URL is getting me this error :


ERROR: Request path contains unescaped characters



NodeApiError: Request path contains unescaped characters
    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:1281:27)
    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:658:19)
    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:631:53

I have previous Node that uses the custom object id ‘2-21031000’ so I know that a dash ‘-’ is not considered has a unescaped character.

Would someone know where to look into?

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 @FL_MR
it looks like there are some unexpected (and invisible) characters in your string:

try deleting those and let me know if it works that way

1 Like

Thank you so much @giulioandreini !!!

Those are truly invisible, could you ping the tool you used to capture these?

It’s all working now :slight_smile:

Glad to hear it works!
I used this tool: Free unicode character detector for text messages