If an error occurs while processing a request a status code in the 400 or 500 range are returned. In addition, a short plain text error message is returned in the response body:
<?xml version="1.0" encoding="UTF-8"?>
<errors>
<error>Ressource not found</error>
</errors>