invalid_input
invalid_input
Section titled “invalid_input”HTTP status: 400 Bad Request
How to fix
Section titled “How to fix”- Check the
paramfield in the error body. It names the exact input that failed —tags[2],interval,webhookUrl, etc. The CLI prints this on the line below the message; the MCP tool error payload includes it as a structured field. - Consult the API reference for the endpoint you called. Each endpoint's schema documents required fields, allowed types, and enum values.
- Confirm types.
tagsmust bestring[], not a comma-separated string.intervalMinutesmust be a number, not"5". Strict JSON parsing rejects coercion. - Check enum values. Fields like
interval,pageType,modeaccept a fixed set documented in the schema. Anything else returns this code withparampointing at the bad field.
What this means
Section titled “What this means”The request body parsed but failed schema validation. This is the catch-all for field-level errors not covered by a more specific code like invalid_url or invalid_workflow.
Related errors
Section titled “Related errors”invalid_url— specifically theurlfieldinvalid_workflow— workflow DAG validationnode_type_unknown— workflow node type not recognized
Still stuck?
Section titled “Still stuck?”Contact support with your request_id (looks like req_01HF3JKB...). Include the request body and we'll trace the schema check.