com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException: Unrecognized field "x", not marked as ignorable
The JSON contains a field your Java class doesn’t have, and Jackson is configured to fail on unknown properties.
Unrecognized fieldnot marked as ignorable Meaning
Default ObjectMapper fails on unknown fields (Spring Boot’s does not). APIs adding new fields break strict clients.
Common causes
- API added fields
- Field name differs (snake_case vs camelCase)
- Typo in @JsonProperty
⚡ Quick fix
- Ignore unknown fields: @JsonIgnoreProperties(ignoreUnknown = true) or FAIL_ON_UNKNOWN_PROPERTIES=false
- Map names with @JsonProperty / PropertyNamingStrategies.SNAKE_CASE
Detailed fix by platform
Java
mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
How to diagnose
- Field — Which name?
- Naming — snake_case vs camelCase?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
Most viewed in Java
Other ways to find it
Where this error sits
Origin: Application & API. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 15 Oct 2026