idempotency_conflict
HTTP 409. The idempotency key was used for a different request, or that request is still running.What it means
Flow keeps eachIdempotency-Key for 24 hours with the request it came with. A repeat of the same request returns the first answer; anything else with that key is refused.
Why it happens
channel_code names the case:
How to fix it
Make a new key per logical request (a UUID or ULID) and reuse it only to retry that exact request. Switch onchannel_code: only in_progress is worth retrying with the same key.
hint, one sentence specific to your request, and
doc_url, this page. Coding agents connected to Flow’s MCP server
(https://api.flow.engineer/mcp) can call explain_error with the type to read this page.