Bulk queue item error: format_run_canceled vs format_run_failed
In a Sume bulk queue, a failed child reads format_run_failed and a canceled child reads format_run_canceled. The real reason is in the child run receipt.

When a child run settles, its queue item carries a fixed error. A failed child shows format_run_failed with the message "The Format run failed." A canceled child shows format_run_canceled with "The Format run was canceled." A completed child has error: null. These are labels, not diagnoses. To find why something failed, read the child receipt.
The mapping
The queue is a server-side list of ordinary Format runs, up to 100 items with concurrency 1 to 16. Each item has an index, a status, a run_id and an error.
| Child run | Item status | Item error code |
|---|---|---|
| completed | completed | null |
| failed | failed | format_run_failed |
| canceled | canceled | format_run_canceled |
| could not start | failed, run_id null | Create-run failure code |
Where the reason is
For any item with a run_id, poll GET /v1/format-runs/{run_id} for the full receipt. A skipped child is recorded in the queue as failed. An item that never started has run_id: null and its own error from the create attempt, for example format_run_failed_to_start, and the rest of the queue continues.
Queue status is not success
A queue is completed when every item is terminal, not when every item worked. Branch on counts.failed and counts.canceled.
There is no list-queues or cancel-queue endpoint. To stop one child, cancel it with POST /v1/format-runs/{run_id}/cancel; the freed slot then starts the next item.
Sources
Related posts
More in Formats
- Which Sume catalog Formats make ad creative: the slugs by ad type
Sume ships 27 ready-made Formats at the sume handle. Which slugs fit which ad type, and how to read one with GET /v1/formats/sume/{slug} before paying.
- Ready-made Formats for product video: the Sume Format catalog
Sume ships ready-made Formats for product and UGC-style video and images, each callable from your backend with one HTTP request at the reserved sume handle.
- What is a Sume Format? Turn an agent thread into one API call
A Sume Format is a saved video recipe your backend calls by handle and slug. One POST runs it in a fresh sandbox and returns media plus optional typed JSON.
- How to embed AI video generation in your product with Sume Formats
To embed AI video generation, your server holds one Sume API key and runs a Format per customer, with a derived Idempotency-Key, spend cap, and webhook.
Written by Sume