Skip to content

invalid_params

Invalid parameters

BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog

Last updated

Code: invalid_params · HTTP status: usually 422

One or more fields failed the action’s schema.

Fix each details entry (its path, message, the value sent and the expected schema) and resend.

{
"code": "invalid_params",
"type": "https://docs.stoqapp.com/v2/docs/api-v2/errors/invalid-params/",
"title": "Invalid parameters",
"status": 422,
"detail": "mode must be one of: auto, manual. Fix each entry in `details` (its `path`, `message`, the `value` sent and, where known, the `expected` schema) and resend. The full request schema is at `help_url`.",
"errors": [
"mode must be one of: auto, manual"
],
"details": [
{
"code": "invalid_params",
"message": "must be one of: auto, manual",
"path": "mode",
"value": null,
"expected": null
}
]
}

Every API v2 and MCP failure carries code and a type link to its page here. See Errors & Responses for the full envelope.

Was this page helpful?

Still stuck? Ask Quinn or chat with support