Callback error handling
Callbacks can define their own error responses, but the Acronis API Callback Gateway provides default handling for specific HTTP error response codes and communication errors.
Default error response codes
Status code |
Reason |
UI message |
---|---|---|
|
The callback handler rejected the unauthorized request. |
Connection to |
|
The callback handler rejected the request due to invalid credentials. |
Connection to |
|
The callback handler is no longer available at the provided URL. |
Response from to |
|
The callback handler rejected the request due to too many requests. The request can be retried by API Callback Gateway. |
None |
|
The callback handler responded with an error that indicates a server error. |
Connection to |
Communication errors
Error |
Reason |
UI message |
---|---|---|
|
Acronis API Callback Gateway was unable to negotiate the secure protocol with the callback handler. |
Connection to |
|
Acronis API Callback Gateway was unable to verify the SSL certificate of the callback handler domain name. |
Connection to |
|
Acronis API Callback Gateway was unable to find a route to the callback handler. The request can be retried by API Callback Gateway. |
Connection to |
|
Acronis API Callback Gateway was able to establish the connection but did not receive a response within the specific time. The request can be retried by API Callback Gateway. |
Connection to |
|
Callback handler responded with a response within the 200-399 range that does not match any code defined for this callback. |
Response from to |
|
Callback handler responded with a response within the 400-499 range that does not match any code defined for this callback or in the Status codes table. |
Response from to |
|
Callback handler responded with a structure that does not match the schema defined for this callback. |
Response from to |
|
Callback handler received a request from the user interface which structure does not match the schema defined for this callback. |
Request to |