quality
Image quality validation
Request Body: Invalid image case
{
"title": "document_quality",
"description": "A imagem enviada não pode ser processada com êxito."
}
When making a POST to the image endpoint, if the image is not sufficient for validation, an HTTP Status Code 400 will be returned, as can be seen in the example above. Status Code 400 is also returned when the document does not meet the image requirements mentioned above.
Attention - There are other reasons why we return 400 (All related to invalid data). Only returns with the title "document_quality" are the result of poor image quality validation and therefore should be passed on to the user.