Browse all documentation

One set of error codes for economics

Every economics route now answers a missing series with series_not_found and a failed read with economics_unavailable.

Every economics route now answers a missing series with series_not_found and a failed read with economics_unavailable.

What changed

  • The industrial production, producer prices, harmonised inflation, retail sales, confidence, current account and money supply routes, and the series routes, answered 404 not_found and 503 data_unavailable. They now answer 404 series_not_found and 503 economics_unavailable, the codes the core economics routes already used.
  • The regional CPI and regional GDP routes answered 503 calendar_coverage_unavailable when the data could not be read. They now answer 503 economics_unavailable.
  • The index level of harmonised inflation needs a series_id. GET /v1/economics/{country}/series?family=harmonised-inflation lists the ids, and the series with unit index is the level.

All changelog entries · Changelog RSS feed

Was this page helpful?