Skip to main content

validation_deprecated_field

HTTP Status: 422 Category: Validation

When you see this

Field matches a registered rename (e.g. old_name -> new_name).

How to fix it

Migrate to the new field name in error.details.errors[].migration.to. See the linked migration guide for payload examples.

Example response

{
"error": {
"code": "validation_deprecated_field",
"message": "Field matches a registered rename (e.g. old_name -> new_name).",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/validation_deprecated_field",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}