API error 422

Validation failed

What it means

The request was understood and its contents were rejected. The response carries an errors array with one entry per problem, each naming the exact field as a JSON Pointer — /pricing/sale_price_cents, not "pricing".

What to do

Read errors[].pointer and put the message next to that input. A 422 is always about the body or the query, never about who you are.

The response

{
  "type": "https://casanova.realty/problems/validation-failed",
  "title": "Validation failed",
  "status": 422,
  "detail": "A sentence about this particular occurrence.",
  "instance": "/api/v1/properties/some-listing"
}

Content type is application/problem+json. Match on type, not on title — the title is prose and may be rewritten.