validation
このコンテンツはまだ日本語訳がありません。
type: https://docs.d2b.dev/errors/validation — The input doesn’t meet the API contract. Typical status: 400 / 422.
Failed SQL (missing table, syntax), forbidden characters in artifact_name, a template that hard-codes an input table name (inputs must bind through {{ arg }} placeholders), an empty template, record_branch without include_row_ids — errors the caller can fix.
What to do
Section titled “What to do”detailcarries the server’s original error text verbatim (DuckDB / Jinja2 messages). Read that first- Templates output through
{{ artifact_name }}and take inputs through{{ arg }}bound viaargs. Discover names withGET /api/v1/workbooks/{id}/artifacts - A 422 is a Pydantic type error (a value outside an enum, etc.). Match the request shape to the OpenAPI spec
All error types: Reading errors.