API result codes

This section lists the relevant result and error codes for ID Network, including common result codes and API-specific result codes.

Common error codes

For the full list of common error codes, see the Common error codes section in the Error handling topic.

API-specific result codes

Success

ResultStatus

ResultCode

ResultMessage

Description

S

SUCCESS

Success

The operation was successful.

Image-related

ResultStatus

ResultCode

ResultMessage

Description

F

INVALID_ARGUMENT

imageInfo is null

Image information is empty.

F

INVALID_ARGUMENT

faceImage and docImage is null

Face and ID images are empty.

F

NO_FACE

No face has been detected in this image

There is no face in the picture.

F

IMAGE_CHECK_FAILED

Multiple faces have been detected in this image

The image contains multiple faces.

F

IMAGE_CHECK_FAILED

The image quality is low

Low quality image.

F

NOT_SAME_PERSON

The person detected is not the same person.

The face is not the same person as the ID picture.

F

IMAGE_CHECK_FAILED

The image size must be smaller than 5M.

Image file is too large.

Risk detection related

ResultStatus

ResultCode

ResultMessage

Description

F

INVALID_ARGUMENT

riskDetection is null

Risk detection is empty.

F

INVALID_ARGUMENT

riskTypes is null

Detect risk type as null.

F

INVALID_ARGUMENT

riskTypes is invalid

Detection of risk type illegitimate.

Data format related

ResultStatus

ResultCode

ResultMessage

Description

F

INVALID_ARGUMENT

dateOfBirth format error, it must be yyyyMMdd.

The date of birth format is not legal, it should be in yyyyMMdd format.

F

PRIVACY_DATA_ALREADY_DELETED

Privacy data has already been deleted.

Private data has been deleted.

F

TRANSACTION_NOT_FOUND

transactionId is not found.

No matching data found based on referenceId

Data query related

ResultStatus

ResultCode

ResultMessage

Description

S

SUCCESS

Data not found

This data information does not exist.

System implementation related

ResultStatus

ResultCode

ResultMessage

Description

F

SYSTEM_ERROR

System error

System error.