Errors

The zkPass RESTful API strives to provide a smooth user experience, but occasionally errors may occur. This section equips you with knowledge about potential error responses you might encounter.

Error Response

{
    "status": [http_status_code],
    "status_code": [status_code],
    "status_text": [error_message]
}

HTTP Status CodeStatus CodeError MessageDescription

400

E2001-EDeserializeError

Failed to deserialize the data

Our system failed to deserialize your data

400

E2002-ESerializeError

Failed to serialize the data

Our system failed to serialize data

400

E2008-ECustomError

Custom Error

Custom error

400

E2010-EEmptyParameter

Empty parameter was given

Our system detect there is no parameters given

400

NO_PARAMS

There is no dvr_token & user_data_token params

Missing dvr_token and user_data_token as request parameters

401

UNAUTHORIZED

Unauthorized, please input the correct token

Check your authorization token

403

FORBIDDEN

Please check your zkPass client version. Server version: current_version

Request in different version with current zkPass service version

404

NOT_FOUND

Api / Web you are searching is not found

Api / Web you are searching is not found

503

NOT_READY

Server is not ready yet, please try again later

Our server is not ready

Last updated