alternative_id_type_invalid
The alternative identifier type is outside the catalogue `nif_iva`, `passport`, `country_id`, `residence_certificate`, `other_document`, `not_registered`.
| Code | Type | HTTP | Category |
|---|---|---|---|
alternative_id_type_invalid | invalid_request_error | 422 | Contacts |
Cause
The alternative identifier type is outside the catalogue nif_iva, passport, country_id, residence_certificate, other_document, not_registered.
What to do
Send the type matching the document you are recording; it is reported to AEAT alongside the identifier.
Related
All Contacts error codes
Causes and actions for errors in this category.
Error codes by category
Find an error by the category that emits it.
Full reference table
All codes, HTTP statuses, types and descriptions in one reference.
Error model
Interpret the error envelope and handle errors by code.