invalid_params
Invalid parameters
BetaAPI v2 is in public beta: endpoints, fields and behaviour can change before general availability. See the changelog
Last updated
API v2
stoqapp.comAbout STOQContactPrivacy policyHelp center
Invalid parameters
Section titled “Invalid parameters”Code: invalid_params · HTTP status: usually 422
One or more fields failed the action’s schema.
How to fix
Section titled “How to fix”Fix each details entry (its path, message, the value sent and the expected schema) and resend.
Example response
Section titled “Example response”{ "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?
Thanks for letting us know.
Still stuck? Ask Quinn or chat with support