Sandbox - Get Extract Async

This method helps you to get the recognition result of extract KTP asynchronous.


You will receive a response of your payload request which consists of message and an error code if the request fails to process. The following is a list of error codes of get KTP extraction payload request.


reference_id code with _V (e.g REFERENCE_ID_KTP_B_V) means the quality validation is on.

reference_idDescription
REFERENCE_ID_KTPValid reference_id and KTP photo
REFERENCE_ID_KTP_BValid reference_id and KTP photo in blur condition
REFERENCE_ID_KTP_DValid reference_id and KTP photo in dark condition
REFERENCE_ID_KTP_BDValid reference_id and KTP photo in blur and dark condition
REFERENCE_ID_KTP_FValid reference_id and KTP photo in flashlight condition
REFERENCE_ID_KTP_GValid reference_id and KTP photo in grayscale condition
REFERENCE_ID_KTP_FGValid reference_id and KTP photo in flashlight and grayscale condition
REFERENCE_ID_KTP_DGValid reference_id and KTP photo in dark and grayscale condition
REFERENCE_ID_KTP_BFValid reference_id and KTP photo in blur and flashlight condition
REFERENCE_ID_KTP_BGValid reference_id and KTP photo in blur and grayscale condition
REFERENCE_ID_KTP_B_VValid reference_id and KTP photo in blur condition with validation_quality
REFERENCE_ID_KTP_D_VValid reference_id and KTP photo in dark condition with validation_quality
REFERENCE_ID_KTP_BD_VValid reference_id and KTP photo in blur and dark condition with validation_quality
REFERENCE_ID_KTP_F_VValid reference_id and KTP photo in flashlight condition with validation_quality
REFERENCE_ID_KTP_G_VValid reference_id and KTP photo in grayscale condition with validation_quality
REFERENCE_ID_KTP_FG_VValid reference_id and KTP photo in flashlight and grayscale condition with validation_quality
REFERENCE_ID_KTP_DG_VValid reference_id and KTP photo in dark and grayscale condition with validation_quality
REFERENCE_ID_KTP_BF_VValid reference_id and KTP photo in blur and flashlight condition with validation_quality
REFERENCE_ID_KTP_BG_VValid reference_id and KTP photo in blur and grayscale condition with validation_quality
REFERENCE_ID_NOT_FOUNDreference_id not found
REFERENCE_ID_KTP_NOT_DETECTEDreference_id and KTP photo not detected
REFERENCE_ID_TOO_LONGreference_id is too long
REFERENCE_ID_TOO_SHORTreference_id is too short

You will receive a response of your payload request which consists of message and an error code if the request process failed. The following table describes choice of image to be used as input.

Error StatusError codeDescription
400INVALID_SANDBOX_CODEreference_id not exist in reference_id code sandbox
400INVALID_PAYLOAD_REFERENCE_IDreference_id is too short/too long
404INVALID_PAYLOAD_REFERENCE_ID_NOT_FOUNDreference_id is not found / reference_id payload is missing
500INTERNAL_SERVER_ERRORInternal server error

But, you can also receive error_code in your successful request. This error_code indicates an error that appeared in processing the request from the extract-async method. The following is a list of error_code you might get.

Error codeDescription
FAIL_ON_1Fail on quality
KTP_NOT_DETECTEDKTP not detected from image
INTERNAL_SERVER_ERRORInternal server error
Language
Click Try It! to start a request and see the response here!