Sonny Labs Docs
Error codes

validation.parameter_invalid

A query or path parameter failed bean-validation rules.

validation.parameter_invalid is returned at HTTP 400.

When this fires

A query or path parameter violated its declared constraint. Common cases: a limit query parameter outside its allowed range, a malformed cursor, or an id path segment that is not a ULID.

What to do

Read errors[] for the failing parameter name and rule. The SDKs validate most of these client-side; a 400 here usually means a direct HTTP call with a malformed parameter.

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.

On this page