API Error Message

Specific Error Message

Thai National ID Card Front Side

Status CodeStatus MessageDescription

420

NO_ID_CARD_FOUND

The image file is not the ID card.

421

IMAGE_ERROR_UNSUPPORTED_FORMAT

The image can not be resolved. The file format may not be supported or the file is damaged.

422

INVALID_IMAGE_SIZE

The size of the uploaded image does not meet the requirement as above.

424

PLEASE_VERIFY_ID_CARD_NUMBER

The National ID Number has 13 digits but incorrect. Response code: 424 will show when used id_check in options if not used id_check. response code is 200, You should check in error_message.

425

CANNOT_READ_ID_CARD_NUMBER_CLEARLY

The National ID Number has less 13 digits. Response code: 425 will show when used id_check in options if not used id_check. response code is 200, You should check in error_message.

426

IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE

Used gray_check in options for check image black-white and gray image.

Error Message

{
    "detection_score": 0.3049537042776744,
    "error_message": "NO_ID_CARD_FOUND",
    "process_time": 1.2874093055725098
}

Thai National ID Card Back Side

Status CodeStatus MessageDescription

430

NO_ID_CARD_FOUND

The image file is not the ID Card.

431

IMAGE_ERROR_UNSUPPORTED_FORMAT

The image can not be resolved. The file format may not be supported or the file is damaged.

432

INVALID_IMAGE_SIZE

The size of the uploaded image does not meet the requirement as above.

434

LASER_NUMBER_NOT_FOUND

Can not detect the laser number on back ID Card.

435

CANNOT_READ_LASER_NUMBER_CLEARLY

The laser number has less 12 digits. Response code: 435 will show when used id_check in options if not used id_check. response code is 200, You should check in error_message.

436

IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE

Used gray_check in options for check image black-white and gray image.

Error Message

{
   "detection_score": 0.0,
   "error_message": "NO_ID_CARD_FOUND",
   "process_time": 0.137020141601562
}

Common Error Message

Status CodeStatus MessageDescription

404

REQUESTED_URL_NOT_FOUND

API Route not found in request

405

METHOD_NOT_ALLOWED

Method name (GET, POST) in the URL is incorrect.

413

FILE_IS_TOO_LARGE: (more than 2 MB)

The file size is too large

427

LONG_TIME_TO_PROCESS

The server is processed for a long time.

428

LONG_TIME_TO_REQUEST

The client is waiting in the queue for a long time.

461

NO_FILE_ATTACHED

No file attached.

560

SERVER_IS_BUSY:

(Please try again in a few seconds.)

Server is working on many requests.

563

ID_CARD_API_NOT_SUPPORT_THIS_IMAGE

The API has an error in the process.

Error Message

{
    "error_message": "REQUESTED_URL_NOT_FOUND"
}

Last updated