Skip to content

API errors

thergbway edited this page Apr 7, 2016 · 7 revisions

Rest API errors

All errors are thrown as json object in response body.

JSON Error object:

{
    !"code": ERROR_CODE,
    !"message": ERROR_MESSAGE
}

ERROR_MESSAGE contains human readable reason message.
ERROR_CODE is a member of ERROR_CODES.

ERROR_CODES:
100 - INVALID_EXTERNAL_APP_CREDENTIALS
101 - INVALID_ACCESS_TOKEN
102 - NO_ACCESS_TOKEN
200 - NO_SUCH_ORDER
300 - NO_SUCH_ORDER_POSITION
400 - NO_SUCH_PINNED_ITEM
500 - NOT_ENOUGH_ARGUMENTS
501 - MALFORMED_URL
502 - INVALID_REQUEST_JSON
503 - MULTIPART_IO_EXCEPTION
600 - INTERNAL_ERROR

Clone this wiki locally