Pleo uses HTTP status codes to indicate the success and failure of API requests.
In general, codes in the2xx
range indicate Success
. Whereas, codes in the 4xx
range indicate an error, for example, an error has occured owing to an expired access token or an incorrect value in a request parameter.
Here is a generic list of error codes with their descriptions:
Code | Error Type | Definition | Resolution |
---|---|---|---|
401 | JWT is expired | The JWT token has expired. | You must get a new JWT token for accessing the Export API resources. |
403 | Access_Denied | The access to the specific resource is not granted. | Contact your developer partner manager for resolution. |