Error Code Reference
Error code reference page
Type | Title | Status | Reason |
---|---|---|---|
about:blank | Moved Permanently | 301 | Moved Permanently |
about:blank | Bad Request | 400 | Bad Request |
https://developer.danfoss.com/error-code-reference#threat-detected | An issue with the payload content or structure | 400 | Bad Request |
https://developer.danfoss.com/error-code-reference#header-information-missing | One or more mandatory header parameters are missing from the request | 400 | Bad Request |
https://developer.danfoss.com/error-code-reference#critical-resource-missing | Request URI is not found and/or Method is not allowed | 400 | Bad Request |
https://developer.danfoss.com/error-code-reference#missing-or-invalid-request-parameter | One or more mandatory request parameters are missing or invalid | 400 | Bad Request |
about:blank | Unauthorized | 401 | Unauthorized |
https://developer.danfoss.com/error-code-reference#api-key-invalid | API key invalid | 401 | Unauthorized |
https://developer.danfoss.com/error-code-reference#access-token-invalid | Access token invalid | 401 | Unauthorized |
https://developer.danfoss.com/error-code-reference#upstream-client-authorization-error | Upstream client authorization error | 401 | Unauthorized |
https://developer.danfoss.com/error-code-reference#malformed-base64-encoded-credentials | Malformed Base64 encoded credentials | 401 | Unauthorized |
about:blank | Forbidden | 403 | Forbidden |
https://developer.danfoss.com/error-code-reference#client-tls-certificate-rejected | Client TLS Certificate Rejected | 403 | Forbidden |
about:blank | Not Found | 404 | Not Found |
about:blank | Method Not Allowed | 405 | Method Not Allowed |
about:blank | Conflict | 409 | Conflict |
https://developer.danfoss.com/error-code-reference#request-payload-size-larger-than-10mb | Request payload size larger than 10MB | 413 | Payload Too Large |
about:blank | Unprocessable Content | 422 | Unprocessable Content |
about:blank | Too Many Requests | 429 | Too Many Requests |
https://developer.danfoss.com/error-code-reference#client-error-with-rich-details | Client error with rich details | 4xx | Bad Request |
about:blank | Internal Server Error | 500 | Internal Server Error |
https://developer.danfoss.com/error-code-reference#internal-authorization-error | Internal authorization error | 500 | Internal Server Error |
about:blank | Bad Gateway | 502 | Bad Gateway |
https://developer.danfoss.com/error-code-reference#received-response-payload-of-size-larger-than-10mb | Received response payload of size larger than 10MB | 502 | Bad Gateway |
about:blank | Service Unavailable | 503 | Service Unavailable |
about:blank | Gateway Timeout | 504 | Gateway Timeout |
about:blank | Not Extended | 510 | Not Extended |
Threat detected
Summary
- Type: https://developer.danfoss.com/error-code-reference#threat-detected
- Title: An issue with the payload content or structure
- Status: 400
- Reason: Bad Request
Description
Relevant for methods that are not safe (POST/PUT/PATCH/DELETE).
Indicates that body content of the request violates the defined limits.
E.g. Container depth, Object entry count, String value length, Object entry name length or Array element count.
Header information missing
Summary
- Type: https://developer.danfoss.com/error-code-reference#header-information-missing
- Title: One or more mandatory header parameters are missing from the request
- Status: 400
- Reason: Bad Request
Description
Indicates that one or more required header parameters are missing.
E.g. it could be the Authorization
header that is missing in the client request.
Critical resource missing
Summary
- Type: https://developer.danfoss.com/error-code-reference#critical-resource-missing
- Title: Request URI or Methods is/are missing or incorrect in the request.
- Status: 400
- Reason: Bad Request
Description
Indicates that request URI or Methods is/are missing or incorrect in the request.
Please check the API Documentation and request an allowed Method for an existing URI.
E.g. it could be the a suitable method is not used for a perticular request.
One or more mandatory request parameters are missing or invalid
Summary
- Type: https://developer.danfoss.com/error-code-reference#missing-invalid-request-parameter
- Title: One or more mandatory request parameters are missing or invalid
- Status: 400
- Reason: Bad Request
Description
Indicates that the received request payload from the client can't be processed, as the required parameters either missing or invalid.
Please check the OAS documentation and validate the payload.
E.g. it could be missing a mandatory request or header parameter.
Access token invalid
Summary
- Type: https://developer.danfoss.com/error-code-reference#access-token-invalid
- Title: Access token invalid
- Status: 401
- Reason: Unauthorized
Description
This indicates that the access_token
or refresh_token
has expired, scope is invalid, api subscription is invalid.
The specific cause will be available in the detail field.
Api key invalid
Summary
- Type: https://developer.danfoss.com/error-code-reference#api-key-invalid
- Title: API key invalid
- Status: 401
- Reason: Unauthorized
Description
This indicates at the api key
, also known as consumer key
or client id
, is not valid.
Upstream client authorization error
Summary
- Type: https://developer.danfoss.com/error-code-reference#upstream-client-authorization-error
- Title: Upstream client authorization error
- Status: 401
- Reason: Unauthorized
Description
Indicates that the server, while acting as a gateway or proxy, received an unauthorized response from the upstream server, because the client's identity was rejected.
The specific cause will be available in the detail field.
E.g. it could be that the client is not registered with the upstream server.
Malformed Base64 encoded credentials
Summary
- Type: https://developer.danfoss.com/error-code-reference#malformed-base64-encoded-credentials
- Title: Malformed Base64 encoded credentials
- Status: 401
- Reason: Unauthorized
Description
This error occurs if the string containing the Base64 encoded credentials is invalid.
To fix the issue, pass the client_id and client_secret values as an HTTP-Basic Authentication header.
Ensure that the two values are joined together with a colon separating them prior to encoding, as described in IETF RFC 7617.
Client TLS Certificate Rejected
Summary
- Type: https://developer.danfoss.com/error-code-reference#client-tls-certificate-rejected
- Title: Client TLS Certificate Rejected
- Status: 403
- Reason: Forbidden
Description
This indicates that the Client's TLS Certifcate has been rejected by the server because is not part of the configured certificate truststore.
Request payload size larger than 10MB
Summary
- Type: https://developer.danfoss.com/error-code-reference#request-payload-size-larger-than-10mb
- Title: Request payload size larger than 10MB
- Status: 413
- Reason: Payload Too Large
Description
This indicates that the request can't be processed, as the request payload size is larger than 10MB.
Client error with rich details
Summary
- Type: https://developer.danfoss.com/error-code-reference#client-error-with-rich-details
- Title: Client error with rich details
- Status: 4xx
- Reason: *
Description
This indicates that the payload includes the additional rich_details
field.
The field contains additional content relevant to the error.
The format of the rich_details
field is described in the API documentation.
The
4xx
Status indicates that the value can be any http status code in the inclusive range400-499
.
Example:400
The
*
Reason indicates that the value can be any http reason phrase appropriate to the http status.
Example:Bad Request
Internal authorization error
Summary
- Type: https://developer.danfoss.com/error-code-reference#internal-authorization-error
- Title: Internal authorization error
- Status: 500
- Reason: Internal Server Error
Description
Indicates that the server, while acting as a gateway or proxy, received an unauthorized response from the upstream server.
Received response payload of size larger than 10MB
Summary
- Type: https://developer.danfoss.com/error-code-reference#received-response-payload-of-size-larger-than-10mb
- Title: Bad Gateway
- Status: 502
- Reason: Bad Gateway
Description
Indicates that the received response payload from the upstream server can't be processed, as it is of size larger than 10MB.
XLj3CvzA6KQfnay68--jCVER-FcY802Dyo74kIZ3X-4=.html