API Error Message

Specific Error Message

Thai National ID Card Front Side

Status Code
Status Message
Description
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

420
421
422
424
425
426
1
{
2
"detection_score": 0.3049537042776744,
3
"error_message": "NO_ID_CARD_FOUND",
4
"process_time": 1.2874093055725098
5
}
Copied!
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_FORMAT"
3
}
Copied!
1
{
2
"error_message": "INVALID_IMAGE_SIZE"
3
}
Copied!
1
{
2
"error_message": "PLEASE_VERIFY_ID_CARD_NUMBER"
3
}
Copied!
1
{
2
"error_message": "CANNOT_READ_ID_CARD_NUMBER_CLEARLY"
3
}
Copied!
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE"
3
}
Copied!

Thai National ID Card Back Side

Status Code
Status Message
Description
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.
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

430
431
432
435
436
1
{
2
"detection_score": 0.0,
3
"error_message": "NO_ID_CARD_FOUND",
4
"process_time": 0.137020141601562
5
}
Copied!
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_FORMAT"
3
}
Copied!
1
{
2
"error_message": "INVALID_IMAGE_SIZE"
3
}
Copied!
1
{
2
"error_message": "CANNOT_READ_LASER_NUMBER_CLEARLY"
3
}
Copied!
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE"
3
}
Copied!

Common Error Message

Status Code
Status Message
Description
Text
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

404
405
413
427
428
461
560
563
1
{
2
"error_message": "REQUESTED_URL_NOT_FOUND"
3
}
Copied!
1
{
2
"error_message": "METHOD_NOT_ALLOWED"
3
}
Copied!
1
{
2
"error_message": "FILE_IS_TOO_LARGE: (more than 2 MB)"
3
}
Copied!
1
{
2
"error_message": "LONG_TIME_TO_PROCESS"
3
}
Copied!
1
{
2
"error_message": "LONG_TIME_TO_REQUEST"
3
}
Copied!
1
{
2
"error_message": "NO_FILE_ATTACHED"
3
}
Copied!
1
{
2
"error_message": "ERVER_IS_BUSY: (Please try again in a few seconds.)"
3
}
Copied!
1
{
2
"error_message": "ID_CARD_API_NOT_SUPPORT_THIS_IMAGE"
3
}
Copied!