Error codes
validation.error
Generic 400 surfaced when a request fails ad-hoc validation that is not bucketed into a more specific code.
validation.error is returned at HTTP 400.
When this fires
Currently emitted by the API keys controller for expires_at rules (past timestamp, conflict with no_expiry). Future controllers may pick more specific codes; treat this as a catch-all 400.
What to do
Inspect the errors[] array in the Problem envelope — each entry carries a path pointing at the offending field and a code describing the rule that failed. Fix the field and retry.
See also
- SDK reference — the Python and TypeScript SDKs raise typed exceptions for codes in this namespace.
- Error code index — every code the runtime can return.