Getting 'aborted" error in "HTTP request" node (Level 2 Chapter 5)

I’m working through Level 2 course and getting an error when I try to get info from the REST Countries API: `https://restcountries.com/v3.1/all

Also, getting bounceback with e-mailing [email protected] for quiz 2 score.

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 @artificialcreative

Looks like that server has been overloaded with requests, take a look at this discussion in our discord: Discord

You should try to pass query parameters to limit the amount of data requested. e.g.:

https://restcountries.com/v3.1/all?fields=name

Hope this helps!

1 Like

At the time I’m writing this, the only fields needed from the API are the Region, Subregion, and Name, so you can use:

https://restcountries.com/v3.1/all?fields=name,region,subregion

And it returns properly.

2 Likes

Thanks so much for the guidance and Discord link!

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