renza

Errors

validation_failed

Returned as invalid_request_error with HTTP 400.

What happened

The request was well-formed but failed a semantic rule — the message says which.

How to fix it

Read the `message`; it names the rule. Fix the input and retry.

The envelope

{
  "error": {
    "type": "invalid_request_error",
    "code": "validation_failed",
    "message": "",
    "request_id": "req_8f2c4a1b",
    "doc_url": "https://docs.renza.io/errors/validation_failed"
  }
}

See Errors for the full contract, and note the CLI maps this to a stable exit code — see Output & exit codes.