Table Of Contents

Previous topic

API functions

Possible errors

When an error occurs, the "ok" will be false.

Error 402

Adding Hash errors:

{
    "ok": false,
    "err_no": 402,
    "err_msg": {
        "email": "* test@tesm is not valid email address",
        "__all__": "* This IMEI is already queued or done on another cloud in our system.\
        Please contact support if you wish to migrate IT."
    }
}

"err_msg" is dictionary, it contains list of fields with errors, e.g. "err_msg": {<field_name>: <error_message>, ... }

Error 403

Not authenticated:

{
    "ok": false,
    "err_no": 403,
    "err_msg": "Not authenticated"
}

Error 404

Hash not found:

{
    "ok": false,
    "err_no": 404,
    "err_msg": "Hash not found"
}

Error 405

Method not allowed:

{
    "ok": false,
    "err_no": 403,
    "err_msg": "Not authenticated"
}

Error 503

Function is not supported:

{
    "ok": false,
    "err_no": 503,
    "err_msg": "Function is not supported"
}