-
Notifications
You must be signed in to change notification settings - Fork 0
API errors
thergbway edited this page Mar 25, 2016
·
7 revisions
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
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