HTTP 422Validation

VALIDATION_ERROR

Request parameters failed validation. Response body includes an `errors` array with per-field detail.

Request & response

Request · HTTP
GET /v1/purchasing-power?salary=abc&to=Germany
Response · JSON
{
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Request validation failed...",
    "errors": [
      { "field": "salary", "message": "Input should be a valid number", "type": "float_parsing" }
    ]
  }
}

How to fix

  1. Inspect the errors array in the response for per-field error details
  2. Fix the offending parameters and retry