Search loading...

API Hub

Explore and Make use of Nationally Defined Messaging APIs

 

Errors

Error reporting including the complete errorbase

Error Responses

Errors are generally using the HTTP status code with addtional information available returned in the error object.

400 - Bad request

Example:

{
  "error": {
    "code": 400,
    "message": "Bad Request: The supplied service ID of the patient's practice does not exist in the system"
  }
}

401 - Unauthorised

Example:

{
  "error": {
    "code": 401,
    "message": "Unauthorized: You are not authorized to access this resource."
  }
}
Tags:

All content is available under the Open Government Licence v3.0, except where otherwise stated