Re-run only the failed rows of a Black Friday bulk queue
One row of a Sume bulk queue failed? Send only the failed rows as a new queue with a new idempotency key. The old key replays the old queue and starts nothing.

To redo the failed rows of a Sume bulk queue, collect the item indexes whose status is failed, map them back to your own rows, and send those rows as a new bulk create with a new Idempotency-Key. If you send the old key with the old body, you get 202 and the old queue back, and nothing new starts.
The queue fields and the replay rule come from Bulk runs (read 2026-10-06). The docs list no endpoint to add an item to a queue or to cancel a queue, only the per-run cancel, so a fix goes into a new queue.
How do I find the failed rows?
items[] on the queue object keeps the order you submitted, and each entry has a zero-based index. That index is your row number in the batch you sent, so keep the array you posted next to the queue id.
- Filter
itemsforstatusequal tofailed. - Read the child receipt for each one with a
run_id, to see whether the cause is the row or the Format. - Skip
canceleditems unless you canceled them by mistake.
What goes in the new queue?
The same item bodies, after you fix the cause. A new key means a new queue and new billable runs, so check the reason first. A row that failed on a bad input fails again.
| Situation | Action |
|---|---|
| Row had a bad input | Fix it, send in a new queue with a new key |
| Child failed to start (run_id null) | Read the item error, then resend the row |
| Row was fine, run failed | Resend with a new key, or revise with previous_run_id |
| You canceled the item | Resend only if you still want it |
How do I keep the two queues apart?
Label both batches in your own sheet with the queue id and the key. There is no list-queues endpoint, so a lost queue id is hard to recover. Using the same key on the same Format and the same body returns the original queue.
Sources
Related posts
More in Use cases
- Restaurant gift-card promo: avatar plus card image, 15 s, $2.91
A 15-second restaurant gift-card promo on Sume Avatar 1.0 with the card art as product_image: $2.91 standard, $3.87 plus. What to check in the first frame.
- Restaurant table tent art: Ideogram 4.5 at 3:4, specials quoted
Make table tent artwork for a restaurant: a 3:4 Ideogram 4.5 image with each special quoted in the prompt, a price check, and the real cost per tent on Sume.
- SaaS launch week asset budget: images, voiceovers and clips on Sume
A launch week of 12 Ideogram images, six 450-character voiceovers, six 5-second Grok clips and one music track costs about $1.61 on Sume. The per-line bill.
- Sale badge on a product image: draw it in Pillow, not in the prompt
Generate a clean product photo on Sume, then draw the sale badge and percentage from your catalog data in Pillow, so a price change never costs a regeneration.
Written by Sume