Skip to main content

Errors

Errors

This section describes error codes used in the Propeller platform REST APIs and their meaning. For details about the API-specific error-codes, consult the documentation dedicated to that API.

CodeError TypeStatus CodeMessageReason
10005InvalidJSONPayload400Invalid JSON PayloadJSON provided in payload is not valid
10006InvalidLookupKey400Invalid lookup keyLookup key is not supported in the specific API. Check API specific lookup keys
10007SchemaValidationException400Schema Validation ErrorJSON schema validation. Response contains the details of the issue
10008NotFound404Resource not foundResource deleted, non-existing or insufficient permissions
10015PaginatedResponseException400Pagination not properly initializedoffset or page are not initialized properly. These should be positive integers. Possible maximum limit exceeded on offset
10016LookupKeyNotFound400Lookup key not found in payloadBulk endpoints by a certain lookup key require that the lookup key is provided in the payload
10017PayloadValidationError400Payload validation errorServer side validation of the payload. Response contains the details of the issue
10018TranslationNotFound404Translation not foundResource deleted, non-existing or insufficient permissions
10019WarehouseNotFound404Warehouse not foundResource deleted, non-existing or insufficient permissions
10020WarehouseInvalidConfiguration400Warehouse invalid configurationWarehouse not properly configured, e.g. not a pick up location

Error Response

When an API call results in an error, the response contains the error property which is an object with the following properties:

PropertyTypeDescription
codestringError code. Generic error codes are listed here, while API specific error codes are listed in each API
statusintegerStatus code
typestringError type. Generic error types are listed here, while API specific error types are listed in each API
messagesarray[string]An array of error messages
moreInfostringURL to a page containing details about the error (under construction)

Example error response:

{
"error": {
"code": 80006,
"status": 404,
"type": "ProductNotFound",
"messages": [
"Product with id [481189] not found"
],
"moreInfo": "https://www.propel.us/docs/errors/80006"
}
}