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 returned by the API-keys endpoints for expires_at rules (past timestamp, conflict with no_expiry). Treat this as a catch-all 400; future endpoints may surface more specific codes.
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.