Below are the common error codes for Routing APIs:
| Code | Description |
|---|---|
| DIS-1001 | Invalid token. |
| DIS-1002 | Not Authorized to access this API. |
| DIS-1003 | Issue with internal services. |
| DIS-1004 | Workspace Id is missing from Bearer Token. |
| DIS-1005 | Rate limit exceeded. |
| DIS-1007 | API quota permanently exhausted. |
| DIS-1008 | Invalid request ID (max 38 characters). |
| DIS-1009 | Access blocked due to too many failed attempts. |
| DIS-RT-1008 | 'country' parameter is mandatory in request parameters. |
| DIS-RT-1009 | Provide a valid value to request parameter 'country'. |
| DIS-RT-1011 | Issue with internal services. Please try again after sometime. |
| DIS-RT-400 | Isochrone API exceeds the kilometers limit. |
| DIS-RT-401 | APIKEY not supplied or invalid. |
| DIS-RT-403 | The 'mode' provided in the input, ca, is invalid with option=flexible. Valid values for 'mode' are car, motorcycle, bike, truck, walk for flexible routing (setting option=flexible). |
| DIS-RT-404 | Requested host or path not found. |
| DIS-RT-413 | The request entity size exceeds, the number of OD pairs provided is more than 10X10. |
| DIS-RT-422 | Could not process the request. |
| DIS-RT-429 | Too many requests. |
Error response examples
{
"id": "1c986743-f958-4d6d-8923-f5219c69fa95",
"errors": [
{
"code": "DIS-RT-403",
"detail": "The 'mode' provided in the input, ca, is invalid with option=flexible. Valid values for 'mode' are car, motorcycle, bike, truck, walk for flexible routing (setting option=flexible)."
}
]
}{
"id": "124fe974-cc53-4722-861e-7f4bf582a5ec",
"errors": [
{
"code": "DIS-1001",
"detail": "Unauthorized"
}
]
}{
"id": "124fe974-cc53-4722-861e-7f4bf582a5ec",
"errors": [
{
"code": "DIS-1002",
"detail": "Not Authorized to access this API"
}
]
}{
"id": "124fe974-cc53-4722-861e-7f4bf582a5ec",
"errors": [
{
"code": "DIS-1005",
"detail": "Rate limit exceeded"
}
]
}{
"id": "124fe974-cc53-4722-861e-7f4bf582a5ec",
"errors": [
{
"code": "DIS-1003",
"detail": "Issue with internal services"
}
]
}{
"id": "124fe974-cc53-4722-861e-7f4bf582a5ec",
"errors": [
{
"code": "DIS-1003",
"detail": "Issue with internal services"
}
]
}