October 28, 2019

Error Code for Bad Inputs

Laurent Pellegrino @lpellegr

It has been reported that inputting an invalid request body value for the batch lookup endpoint (using the POST method) was returning an HTTP 500 error. This was not impacting the service but confusing users.

We have introduced a new error code BAD_REQUEST that maps to the corresponding HTTP 400 status code. Any invalid request value returns a response with this new error code.