HTTP Status Codes
Requests to Datavalid may return the following HTTP code:
Code / Responses
Everything worked as expected and the data validation was performed successfully.
204 No Content
The server successfully fulfilled the request and there is no additional content to send in the response.
400 Invalid Request
The request was not accepted because there is some inconsistency in some fields of the request. Check if the properties of the request body are in accordance with the expected properties of the method. Also, verify if the request body is encoded in UTF-8.
Problems during the authentication.
Problems during the authorization.
413 Request Entity Too Large
The request is too big. The maximum request size limit is 3MB. Verify that the maximum request size limit is being met.
422 Validation Not Processed
Validation cannot be processed because there is an invalid character in the request. Invalid characters are listed in the response.
|DV001||LGPD: Minors’ data validation not allowed by LGPD|
|DV002||Data found in the database does not meet the minimum requirements for validation|
|DV012||Invalid document type|
|DV014||Invalid CPF status code|
|DV016||Invalid CNH status code|
|DV017||Invalid description of the CNH status|
|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 fingerprint image quality|
|DV035||Invalid fingerprint image size|
|DV036||Fingerprint position duplicated|
|DV040||Face image not found in 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 image quality|
|DV046||More than one face was recognized in the image|
|DV047||Invalid face image format|
|DV080||Invalid document format|
|DV081||Error retrieving base64 encoded document|
|DV082||Document file corrupt or not in expected format|
|DV083||Invalid document size|
|DV084||The document provided was not recognized as valid|
|DV085||More than one document was recognized|
|DV086||Unable to retrieve CPF in the document|
|DV087||Unable to retrieve face photo in document|
|DV088||The CPF entered does not belong to the CPF of the document|
|DV089||Number of valid fields retrieved from the document is not enough to validate the document|
500 Server Error
Some internal error occurred on the server.
502 Bad Gateway
This error message is displayed when there is an issue with generating tokens.
503 Service Unavailable
Internal server error. Some services integrated with Datavalid are currently unavailable.
|DVxx||Some services integrated with Datavalid are currently unavailable.|
504: Gateway Timeout
The gateway did not answer promptly due to a network error.