When sending JSON requests to the server, I\'m often greeted by this message:
The request sent by the client was syntactically incorrect ().
If the data that your consuming is from an external api and if you want to shield your controller from unnecessary elements/properties that you dont need you can use below annotation on POJO class
@JsonIgnoreProperties(ignoreUnknown = true)
or you could set it globally
//jackson 2.0
jsonObjectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);