# Validate data

These methods check the validity of the data.

Use:

* [**checkData**](/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-checkdata/lean-checkdata-method) : for the standard process
* [**checkDataWitheIDAssertion**](/products/leandisposable/enterprise-documentation/developer-documentation/api-references/lean-checkdata/lean-checkdata-eid-assertion-method) : for the process based on an eIDAssertion


## Errors

All errors below return HTTP `500`.

| Error | Description |
|  --- | --- |
| [Error 2](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-2-empty-field) | Some required fields are missing |
| [Error 3](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-3-empty-fields-fields-not-allowed-or-fields-in-wrong-format) | Empty field(s), field(s) not allowed or field(s) in wrong format |
| Error 5 | Limitation of use (LoU) not valid |
| [Error 6](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-6-generic-exception---internal-exception) | Generic exception - Internal exception |
| [Error 8](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-8-alphanumeric-symbols-not-allowed-in-the-contacts) | Alphanumeric symbols not allowed in the contacts |
| Error 9 | The password in `cert.password` is not valid |
| Error 10 | The security code in `cert.securityCode` is not valid |
| Error 26 | Foreign country not valid in `holder.identificationCountry` |
| Error 80 | Certificate type in `cert.type` not valid or not authorized |
| [Error 81](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-81--wrong-tax-code-or-personal-identification-number) | Wrong tax code or personal identification number |
| [Error 88](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-88-the-document-type-is-not-valid) | Document type in `doc.documentType` not valid |
| Error 96 | The DN length exceeds 400 characters |
| Error 180 | No more disposable certificates available for the LRA |
| Error 221 | Mismatch between `holder.identificationType` and `holder.identificationCountry` |
| Error 224 | Some fields contain a non UTF-8 character |
| [Error 235](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-235--wrong-assertion) | Wrong assertion |
| [Error 237](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-237--the-assertion-is-expired) | The assertion is expired |
| [Error 238](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-238--the-assertion-signature-is-invalid) | The assertion signature is invalid |
| [Error 241](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-241-lra-not-authorized-to-use-this-type-of-otp) | LRA not authorized to use this OTP type |
| [Error 2091](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-2091-error-due-to-the-name-that-doesnt-belong-to-the-tax-code-entered) | Name doesn't belong to the tax code entered |
| [Error 10068](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-10068-non-unique-cell-phone-number) | Non-unique cell phone number |
| [Error 11003](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11003-no-results-found-for-the-holder) | No results found for the holder |
| [Error 11004](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11004-mismatch-between-the-identification-holder-data-and-the-data-previously-stored-in-the-registration-authority) | Mismatch in identification holder data |
| [Error 11006](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11006-mismatch-between-the-documenttpe-and-the-data-previously-stored-in-the-registration-authority) | Mismatch in document type |
| [Error 11007](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11007-mismatch-between-the-document-number-and-the-data-previously-stored-in-the-registration-authority) | Mismatch in document number |
| [Error 11008](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11008-mismatch-between-the-contacts-and-the-data-previously-stored-in-the-registration-authority) | Mismatch in contacts |
| [Error 11010](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors#error-11010-the-identification-type-is-not-valid) | Identification type in `holder.identificationType` is not valid |


To get information about how to handle the errors: [How to handle errors](/products/leandisposable/enterprise-documentation/developer-documentation/integration-guide/lean-ig-how-to-handle-errors)