Skip to content

Error Handling

The DeliveryTracker API runs on top of GraphQL. You should check for errors via the errors field in the Body, not the HTTP Response Status Code.

About

[Important] Errors may exist in HTTP Response Status Code 200 OK.

The Response Body containing the error contains the errors field as follows

{
"errors": [
{
"message": "Error message",
"extensions": {
"code": "Error Code"
}
},
...
],
"data": ...
}

For the values contained in errors[].extensions?.code, see ErrorCode.