Skip to content

validation_failed

Validation failed โ€” HTTP 400 ยท type invalid_request_error

What happened

The request body or parameters didn't pass validation. The `param` field names the offender.

How to fix it

Fix the field named in `param` to match the schema in the API Reference and retry.

Example response

{
  "error": {
    "type": "invalid_request_error",
    "code": "validation_failed",
    "message": "A human-readable description of what went wrong.",
    "doc_url": "https://docs.interglobe.io/errors/validation_failed"
  },
  "request_id": "req_1a2b3c"
}

โ† All error codes