When the API raise an error, the error page error.html is rendered with the error code displayed. However, if we check the full response received : indeed, the data contains the error.html content, but the response code is 200 and not the expected error code.
When the API raise an error, the error page error.html is rendered with the error code displayed. However, if we check the full response received : indeed, the data contains the error.html content, but the response code is 200 and not the expected error code.