Errors

eSIM error code.

Error Response

Authentication

A request is successfully accepted with an HTTP status code of 2xx. Otherwise, it indicates that something goes wrong with an HTTP status code of 4xx or 5xx.
A structured response body is returned when errors occur, here is an example of the response body for errors:

{
    "code": 401,
    "error": true,
    "msg": "Unauthorized",
    "success": false
}

After Pass Authentication

A request submit is successfully with a code of 0. Otherwise, it's a failure.
A structured response body is returned when errors occur, here is an example of the response body for errors:

{
    "code": 101,
    "data": null,
    "msg": "Request is being processed, please retry shortly"
}

Error Object

code

REQUIRED. eSIM defines the error code.

msg

A human-readable representation of the error. It is intended as an aid to developers and is not suitable for exposure to end users.

data

Always null

Code List

CodeMessage
101Request is being processed, please retry shortly
102The server is busy. Please try again later
400Query error
501Account does not exist
502Account is inactive
503IP address is not allowed
504Plans does not exist
505Plan price is not available
506Insufficient account balance or credit
9999Unknown error