Skip to main content
The Energy Hub Alliance uses error codes to indicate success or failure of API requests. HTTP status codes are used to indicate where things went wrong.
  • 2XX: indicates success
  • 4XX: indicates an invalid request (e.g. a required variable is missing from the request body)
  • 5XX: indicates that somethings went wrong on Energy Hub Alliance side (e.g. device is not capable of fulfilling a request).

Common error codes

The response with the error code BAD_REQUEST may contain the field validationErrors. This field includes the list of fields that failed the validation check with the error message for each field.

Service specific error codes