Cloudflare 524 on a Sume jobs_wait: transport, not job outcome
A 524, 522, 523 or 525 on jobs_wait is a transport failure, not a job result. Re-issue jobs_wait on the same ids or read jobs_status once. Never resubmit.

A 524 (or 522 / 523 / 525) on a Sume jobs_wait call is a transport failure, never a job outcome. The job is still running and still billing, so re-issue jobs_wait on the same ids or read jobs_status once. Do not resubmit the paid create.
Cloudflare's side is from its Error 524 page and Sume's from Jobs and results, both read 2026-10-01.
What does Cloudflare say a 524 is?
Cloudflare documents Error 524 as: it connected to the origin, but the origin did not provide an HTTP response before the default 125 seconds Proxy Read Timeout. Among its suggestions is to implement status polling of large HTTP processes to avoid hitting the error.
Nothing in that description says the work failed. It says the response did not arrive in time.
Why does jobs_wait have a bounded slice?
On remote MCP, timeout_seconds defaults to 50 and is capped at 55. The docs explain that a wait is one HTTP request held open with nothing transferring, and every edge eventually closes such a request. A larger value is clamped rather than rejected, and the response reports it in wait_slice_clamped. When a slice ends, the answer is wait_slice_expired, and you retry with the same ids.
What do I do when I see a 524?
| Situation | Do this |
|---|---|
524, 522, 523 or 525 on jobs_wait | Treat as transport; re-issue jobs_wait on the same ids |
| You want a status without holding a request | Read jobs_status once |
Slice ends with wait_slice_expired | Retry jobs_wait with the same ids |
| Temptation to retry the create | Never resubmit the paid create |
| Temptation to report failure | Do not report the job blocked |
How long a render can I wait for?
The docs say to wait for a ten-minute render by repeating the wait, not by asking for a longer one. Each call holds at most 55 seconds. For fan-outs, one batch jobs_wait with job_ids beats N single waits; see MCP jobs_wait for long video jobs.
Which Sume tools are safe to repeat?
Job reads (jobs_list, jobs_get, jobs_status, jobs_result, jobs_events, jobs_wait) are read tools, listed in MCP tools and gates. Repeating them does not create a second job. The create is the call that needs a stable idempotency_key, and the same key is reused only for the same operation and payload.
Sources
Related posts
More in Developers
- Keep one color, gray out the rest of a video: chromahold API
Sume's video filter allowlists chromahold, which keeps one key color and turns the rest gray. Set color, similarity and blend, then check the graph for free.
- Lambda durable functions with Pydantic AI: Sume submit as a step
AWS says each model and tool call becomes a durable step that is not repeated after an interruption. Here is how to shape a Sume submit as that step.
- LLaDA-Image is open weights: Sume's Image API is a hosted catalog
LLaDA-Image (6B, Apache 2.0, released 2026-09-04) is a download, not an API id. Sume does not list it; use a catalog model with a text-in-image prompt.
- LMNT has shut down: what to know moving to Sume TTS
LMNT's site says it has shut down. If you move to Sume TTS 1.0, voice ids do not carry over, language must be set for non-English text, and text caps at 20000.
Written by Sume