Errors

Handling errors from Pylon's API

Error responses are always in the format:

{
    "errors": [
        "Contact not found!"
    ],
    "request_id": "0caedca7-a3cf-4ea5-b06e-f34093ad64ff"
}

Pylon’s API returns errors with HTTP Status Codes along with errors messages.

Spefically, you will find both a request_id and an string array of errors at the top level of the response payload.

The request_id can be used as a reference to this specific API request. In cases where you need help, you can reach out to Pylon support with the request_id of your API call for help.

Last updated