Error

Error response object returned by the API when an error occurs. The error object is returned as a JSON object with the following properties:


Here is an example of an error response:

GET /api/v1/unknown HTTP/1.1
Host: reqres.in

Response

 {
      "message": "The error message",
      "error": "Not Found",
      "statusCode": 404
  }

Was this page helpful?