API Error Message

API Specific Error Message

Front ID Card

420: No ID Card
421: Image Error
422: Invalid Image Size
423: Image File Too Large
424: ID Number Not Correct
425 Found Light in ID Number field
426: Black White Image
The image file is not the ID card.
1
{
2
"detection_score": 0.3049537042776744,
3
"error_message": "NO_ID_CARD_FOUND",
4
"process_time": 1.2874093055725098
5
}
Copied!
The image can not be resolved. The file format may not be supported or the file is damaged.
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_FORMAT"
3
}
Copied!
The size of the uploaded image does not meet the requirement as above.
1
{
2
"error_message": "INVALID_IMAGE_SIZE"
3
}
Copied!
The image file is too large. This API requires image file size to be no larger than 2 MB.
1
}
2
"error_message": "IMAGE_FILE_TOO_LARGE"
3
}
Copied!
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.
1
{
2
"error_message": "PLEASE_VERIFY_ID_CARD_NUMBER"
3
}
Copied!
Too much light in the card image.
1
{
2
"error_message": "FOUND_LIGHT_IN_ID_NUMBER_FIELD"
3
}
Copied!
Used gray_check in options for check image black-white and gray image.
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE"
3
}
Copied!

Back ID Card

430: No ID Card
431: Image Error
433 Image File Too Large
434: Can Not Read Laser Number
435: Found Light in Laser Number field
436: Black White Image
The image file is not the ID card.
1
{
2
"detection_score": 0.0,
3
"error_message": "NO_ID_CARD_FOUND",
4
"process_time": 0.137020141601562
5
}
Copied!
The image can not be resolved. The file format may not be supported or the file is damaged.
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_FORMAT"
3
}
Copied!
The image file is too large. This API requires image file size to be no larger than 2 MB.
1
{
2
"error_message": "IMAGE_FILE_TOO_LARGE"
3
}
Copied!
Can not read laser number.
1
{
2
"error_message": "CAN_NOT_READ_LASER_NUMBER"
3
}
Copied!
Too much light in the card image.
1
{
2
"error_message": "FOUND_LIGHT_IN_ID_NUMBER_FIELD"
3
}
Copied!
Used gray_check in options for check image black-white and gray image.
1
{
2
"error_message": "IMAGE_ERROR_UNSUPPORTED_BLACK_WHITE_IMAGE"
3
}
Copied!

Common Error Message

404: Not Found
405: Method Not Allowed
413: Request Entity Too Large
415: Unsupported Media Type
427: Long Time To Process
428: Long Time To Request
461: No File Attached
560: Server is Busy
563 Something went wrong
API Route not found in request
1
{
2
"message": "no Route matched with those values"
3
}
4
Copied!
Method name (GET, POST) in the URL is incorrect.
1
{
2
"error_message": "The method is not allowed for the requested URL."
3
}
Copied!
The file size is too large
1
{
2
"error_message": "File size is too large."
3
}
Copied!
The file format is not supported.
1
File Extension is not allowed
Copied!
The server is processed for a long time.
1
{
2
"error_message": "LONG_TIME_TO_PROCESS"
3
}
Copied!
The client is waiting in the queue for a long time.
1
{
2
"error_message": "LONG_TIME_TO_REQUEST"
3
}
Copied!
No file attached.
1
{
2
"error_message": "No file attached"
3
}
Copied!
Server is working on many requests.
1
{
2
"error_message": "This Server is busy. Please try again in a few seconds"
3
}
Copied!
The API has an error in the process.
1
{
2
"error_message": "ID_CARD_API_NOT_SUPPORT_THIS_IMAGE"
3
}
Copied!
Last modified 25d ago