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

A parameter could not be converted to its declared type — e.g. supplying limit=foo where an integer is expected, or a non-ULID string where a scan id is expected.

What to do

Match the parameter type to its declaration in the REST API reference. 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