Onfleet API Errors
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"code": 400, | |
"class": "InvalidContentError", | |
"errors": { | |
"1000": "The values of one or more parameters are invalid.", | |
"1001": "The values of one or more parameters are ambiguous.", | |
"1002": "The resource you have requested to update is unchanged.", | |
"1003": "The resource you have requested to update does not exist.", | |
"1004": "The values of one or more parameters break a uniqueness constraint.", | |
"1005": "The data types of one or more parameters are invalid.", | |
"1006": "The file size exceeds an established limit.", | |
"1007": "The file extension is not currently supported.", | |
"1008": "The webhook URL provided did not pass our validation test.", | |
"1009": "Invalid time constraints specified", | |
"1010": "Invalid phone number", | |
"1011": "Geocoding issues were found", | |
"1012": "Export restrictions would be violated." | |
} | |
}, | |
{ | |
"code": 401, | |
"class": "InvalidCredentialsError", | |
"errors": { | |
"1100": "You are not currently authorized to access this service.", | |
"1101": "There were issues with your API key.", | |
"1102": "The API key provided is invalid.", | |
"1103": "The resource requested is outside of the authenticated user's permissions scope.", | |
"1104": "No user exists with the identifier provided.", | |
"1105": "The password provided does not match this user's password.", | |
"1106": "The authentication token provided is invalid.", | |
"1107": "The action requested cannot be performed by read-only users.", | |
"1108": "The action requested cannot be performed once a task has been fulfilled." | |
} | |
}, | |
{ | |
"code": 402, | |
"class": "PaymentRequiredError", | |
"errors": { | |
"1200": "This feature is not supported by your plan." | |
} | |
}, | |
{ | |
"code": 404, | |
"class": "ResourceNotFoundError", | |
"errors": { | |
"1400": "This particular endpoint does not currently exist.", | |
"1401": "This verb has not been implemented for the requested resource.", | |
"1402": "The requested resource does not exist.", | |
"1403": "The requested query returned no results." | |
} | |
}, | |
{ | |
"code": 409, | |
"class": "InvalidArgumentError", | |
"errors": { | |
"1900": "One or more parameters required for this request are either missing or have an invalid format.", | |
"1901": "One or more parameters required for this request must be unique but are not unique.", | |
"1902": "List of dependencies is invalid", | |
"1903": "Operation would create invalid (cyclic) dependency structure" | |
} | |
}, | |
{ | |
"code": 412, | |
"class": "PreconditionFailedError", | |
"errors": { | |
"2200": "This operation cannot be performed due to invalid object state.", | |
"2201": "This operation cannot be performed by your organization due to an invalid billing state. Contact support@onfleet.com for assistance.", | |
"2202": "Dependency not satisfied for task", | |
"2203": "Operation limit exceeded", | |
"2204": "Operation count exceeded", | |
"2205": "A team's last manager cannot be deleted without removing the team first.", | |
"2206": "Organization must have valid payment information for this operation", | |
"2207": "An administrative action is currently being performed", | |
"2208": "No eligible entities for this operation were found", | |
"2209": "There are insufficient resources available for your request", | |
"2210": "This operation may not be performed - your client state may not be out of sync", | |
"2211": "Unable to process required payment.", | |
"2212": "Upgrade required." | |
} | |
}, | |
{ | |
"code": 429, | |
"class": "TooManyRequestsError", | |
"errors": { | |
"2300": "You have exceeded our per-second request limit. Please slow down." | |
} | |
}, | |
{ | |
"code": 500, | |
"class": "InternalError", | |
"errors": { | |
"2500": "An error of unspecified nature was found while processing your request." | |
} | |
}, | |
{ | |
"code": 501, | |
"class": "NotImplementedError", | |
"errors": { | |
"3100": "This feature is not implemented." | |
} | |
}, | |
{ | |
"code": 503, | |
"class": "ServiceUnavailableError", | |
"errors": { | |
"3300": "The service you requested is not available." | |
} | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment