Sonny Labs Docs
Error codes

validation.parameter_type_mismatch

A query or path parameter could not be converted to the expected type.

validation.parameter_type_mismatch is returned at HTTP 400.

When this fires

Spring's MethodArgumentTypeMismatchException — e.g. supplying limit=foo where an integer is expected, or a non-ULID string where a ScanId is expected.

What to do

Match the parameter type to its declaration in the OpenAPI spec. The SDKs encode types automatically; if you are seeing this, you are probably building URLs by hand.

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