HTTP Status Codes
Requests to Datavalid can return the following HTTP code:
Code / Responses
Everything worked as expected and the data was validated successfully.
400 Invalid request
The request was not accepted because there is some iconsistence in some field of the request. Check that the properties of the request body are in accordance with the properties expected by the method and that the request body is encoded in UTF-8.
Problems during authentication.
Problems during authorization.
413 Request Entity Too Large
The request has a very large size. The total limit for the size of the request is 3MB. Check that the maximum request size limit is being met.
422 Validation not processed
The validation cannot be processed because an invalid value was sent in the request. Invalid values are listed in the response.
|DV000||Validação básica dos dados enviados inválida|
|DV001||Underaged validation not allowed by LGPD|
|DV002||Data found in the base doesn't meet minimum requirements for validation|
|DV012||Invalid document type|
|DV014||Invalid CPF situation|
|DV016||Invalid CNH status code|
|DV017||Description of the invalid CNH situation|
|DV021||Invalid registration status code|
|DV030||Invalid fingerprint position|
|DV031||Invalid fingerprint format|
|DV032||Error retrieving digital image encoded in base64|
|DV033||Image of fingerprint corrupted or out of JPG, PNG or WSQ format|
|DV034||Low digital image quality|
|DV036||Fingerprint position duplicated|
|DV040||Face image not found on the databases|
|DV041||It was not possible to recognize the face in the image|
|DV042||Invalid face image size|
|DV043||Face image corrupted or out of JPG or PNG format|
|DV044||Error retrieving base64 encoded face image|
|DV045||Poor face quality image|
|DV046||More than one face was recognized in the image|
500 Server error
An internal server error has occurred.
502 Bad Gateway
This error is displayed when there is an error in the generation of the token
503 Service Unavailable
Internal server error. Some service integrated with Datavalid is currently unavailable.
|DVxx||Some service integrated with Datavalid is currently unavailable.|
504: Gateway Timeout
There was a network error and the gateway did not respond in time.