Ir para o conteúdo

HTTP Status Codes

Requests to Datavalid can return the following HTTP code:

Code / Responses

200 OK

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.

401 Unauthenticated

Problems during authentication.

403 Unauthorized

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.

Code message
DV000 Validação básica dos dados enviados inválida
DV001 Minor validation
DV010 Invalid CPF
DV011 Invalid nationality
DV012 Invalid document type
DV013 Invalid gender
DV014 Invalid CPF situation
DV016 Invalid CNH status code
DV017 Description of the invalid CNH situation
DV018 Invalid UF
DV020 Invalid CNPJ
DV021 Invalid registration status code
DV022 Invalid port
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
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.

code message
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.