QS101 "Binary data" Exercise 2 — restcountries.com v3.1 URL is deprecated and returns an error

In the n8n Quickstart course (QS101), section Binary data → Exercise 2: Converting JSON to a CSV file, the exercise tells you to set the HTTP Request node URL to:

https://restcountries.com/v3.1/region/europe?fields=name,capital,population

This endpoint is no longer valid. The v3.1 API has been deprecated, so the HTTP Request node fails instead of returning the list of European countries. The response body is:

json

[
  {
    "success": false,
    "data": null,
    "errors": [
      {
        "message": "This API version has been deprecated. Please visit the https://restcountries.com/docs/legacy-api-deprecation to migrate to our new version (v5)."
      }
    ]
  }
]

Because the request errors out, there’s no JSON to pass into the Convert to File node, so the CSV step can’t be completed as written.

Could the course content be updated to the current restcountries API version? In the meantime, is there a recommended replacement URL/endpoint that returns the same name, capital, population fields so the exercise can be completed?

Hi @Tessub

Thanks for this, I missed updating this section after the Rest Countries API changes. I’ve updated the unit now with a new academy endpoint. Please refresh and use this url. I’ve tested it on my install and all is good.

cheers,