Skip to content

invalid_workflow

HTTP status: 400 Bad Request

  1. Validate the JSON syntactically. Run cat workflow.json | jq . first — half of these failures are stray commas, missing brackets, or duplicate keys.
  2. Confirm every node ID is unique inside the nodes array. Two nodes with the same id get rejected.
  3. Confirm the graph is acyclic. Every workflow must terminate. A cycle (node A → B → A) fails DAG validation.
  4. Confirm every edges[].source and edges[].target matches an existing node ID. Dangling edges fail.
  5. Confirm exactly one entry node exists and it has no incoming edges. The DAG must have a single entry point.

The workflow JSON parsed but failed our structural validator. We require a directed acyclic graph with a single entry node, unique node IDs, and edges that reference existing nodes. Failures here happen before any URL is dispatched.

Contact support with your request_id (looks like req_01HF3JKB...). Include the workflow JSON so we can reproduce the validation failure.