Below are the common error codes for Analysis
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-1006 | Invalid Key secret, unauthorized. |
| 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-SFA-1011 | Table not found. |
| DIS-SFA-1012 | Unsupported geometry format. |
| DIS-SFA-1013 | Error executing spatial operation. |
| DIS-SFA-1014 | Error processing Kafka send event. |
| DIS-SFA-1015 | Invalid request arguments. |
| DIS-SFA-1016 | No resource found at requested path. |
| DIS-SFA-1017 | Unsupported operation. |
| DIS-SFA-1018 | Error building response object. |
| DIS-SFA-1019 | Error with downstream services. |
| DIS-SFA-1020 | Generic spatial operation error. |
| DIS-SFA-1021 | Invalid geometry. Curve segment is not closed. |
Error response examples
{
"id": "a8731c85-bea5-4eba-8e7b-9516e975d4b5",
"errors": [
{
"code": "DIS-SFA-1011",
"detail": "Method parameter 'maxFeatures': Failed to convert value of type 'java.lang.String' to required type 'int'; For input string: two"
}
]
}{
"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"
}
]
}