Skip to main content

CURRENCY.BAD_RESPONSE

Error code CURRENCY.BAD_RESPONSE, raised by packages. Area: CURRENCY.

What it means​

  • The ECB answer contained no exchange rates
  • No rates object at '…$…' in the answer
  • The rates object has no numeric rates

What to do​

  • Check the url returns the eurofxref XML.
  • Set rates_path to the field holding {"CODE": rate, ...}.
  • Check rates_path.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: CURRENCY BAD_RESPONSE bad response