This section shows you how to handle various kinds of error responses the IoT OTA Updates API generates. It also lists the range of HTTP response codes and provides details for many API-specific error messages along with their likely causes.
Problem Details object
This API responds with HTTP Problem Details error objects. The sample shows an incorrect request error where the details
parameter explains why the error occurred and the incidentId
may be useful if you need to communicate about the problem with your Akamai support representative.
{
"code": "bad.request",
"incidentId": "808ccc7c-a36f-4a64-ae18-5d09bfab91fd",
"title": "Bad Request",
"details": [
{
"code": "unreadable.value",
"message": "Unreadable value: 'xxxx' passed",
"data": {
"value": "xxxx"
}
}
]
}
For details on information contained in the error responses, refer to Error response syntax.