Error in API call using the HTTP Request node in N8N, but it works in Postman

I am trying to make a request to an open API using N8N, but the HTTP Request node shows the following error:

The connection to the server was closed unexpectedly, perhaps it is offline. You can retry the request immediately or wait and retry later.

However, in Postman, it is possible to make this request, and I used their code to copy the same settings into N8N, but it didn’t work!

Here is the Postman link and screenshots of N8N:

I am using N8N in the browser.



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:

Welcome to the community @Gustavo_Demetrio !

Tip for sharing information

Pasting your n8n workflow


Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.

```
<your workflow>
```

That implies to any JSON output you would like to share with us.

Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!


I have no problem access the data via that URL.