Skip to main content

API Error Handling

When calling the PAL API HTTP endpoints, you may receive errors or warnings when you receive a 4XX or 5XX http response. You can decide to take corrective action immediately, wait and try again, or discard because the action you are trying to perform is no longer relevant.

Example:

{
"operationId": "aea9a483-46bb-45cc-8c24-218736132a00",
"errors": [{ "code": "E0100", "message": "Some error message"}]
}

Endpoints typically return one error code at a time, even though the structure is an array.

Error Codes

Refer to Error and Warning Codes for details on which codes might be returned by the API.