How to implement document verification API using aws image upload service

{

"error": {

"transactionId": "",

"code": "400",

"message": "Validation error",

"status": "Bad Request",

"errors": [

{

"key": "document.frontImage",

"reason": "Invalid or unsupported document image format"

}

]

}

}

this is the error I am getting

Best Answer

  • neha.joshi
    Answer ✓

    Hi Maya,

    Could you please confirm following:

    - Type of document

    - Format of the document

    - Resolution

    - DPI

    Few things to consider when sending running Document Authentication service:

    For document authentication, we strongly recommend using a minimum resolution of 600DPI. The original images from an imaging device should not be resized or scaled to a smaller size, unless the resolution is very high (greater than 800 DPI). Images with a resolution greater than 800 DPI should be scaled down in size and resolution before compression to optimize processing performance. The aspect ratio of the image should not be changed, and the horizontal and vertical resolution of the image should ideally be within 1% of each other.

    Recommended resolution: The minimum pixel width and height is 500 x 500 pixels.

    Acceptable image formats are:

    Window Bitmap (bmp) ,PNG, TIFF, JPEG, JPEG-XR, vnd.ms-photo, JPEG 2000(jp2)

    Image should convert in Base64.

    Image size: Maximum image size for Document Authentication/verification is 6MB and that for Liveness Check is 4MB


    Let us know if this was helpful. You can also find this information IDP Developer Guide and Data Guide found here: https://developers.refinitiv.com/en/api-catalog/refinitiv-data-platform/refinitiv-data-platform-apis/documentation