Audio detach errors: unsupported_media_type, source_not_found

Each Sume audio detach refusal code and its one-line fix: off-host URL, other workspace, not a video, empty range, no audio track, source too long.

4 min readSume
All posts

Sume's audio detach returns stable refusal codes, and each one maps to one fix. unsupported_media_type means the HEAD of the URL was not a video. source_not_found means a dead media.sume.com URL, or one that belongs to a different workspace. unsupported_media_source means the URL is not on the Sume media host at all. None of these is a retry case: change the input.

Codes and fixes

The server rejects off-host URLs such as https://example.com/... at admit, so the failure is immediate and not billed as a job.

Audio detach refusal codes and fixes, from the Sume audio detach page (read 2026-10-05)
CodeWhenFix
unsupported_media_sourcevideo_url is not on the Sume media hostImport the file first with POST /v1/media-imports.
source_not_foundDead media.sume.com URL, or another workspace'sUse an artifact or asset from this workspace.
unsupported_media_typeHEAD is not a videoSend a video, not an image or audio file.
audio_detach_range_emptyrange.end <= range.start, or range over 900 sFix the range; keep it at 900 s or less.
detach_start_past_sourcerange.start is past the probed durationStart inside the clip.
detach_source_has_no_audioNo audio trackCheck probe.has_audio with video inspect first.
source_duration_exceededSource longer than 1800 sTrim the source first.
ffmpeg_fields_rejectedClient sent af, filter, ffmpeg, cmd, codec or similarRemove them; the server compiles ffmpeg.

Check before you detach

For the no-audio case, call video inspect first and read probe.has_audio. frames: false is enough, so the probe stays small. This avoids a failed detach on a muted screen recording.

Limits worth knowing

  • Source at most 1800 s, output at most 900 s. A whole track longer than 900 s needs a range.
  • Default format is wav (pcm_s16le). mp3 is 128 kbps.
  • 16000 with channels: "mono" is the STT shape.
  • Idempotency-Key is required on the create call.

Import first, then detach

Most unsupported_media_source errors come from sending a link from the open internet. The server does not fetch from it. Import the file with POST /v1/media-imports, take the media.sume.com URL from the result, and send that as video_url.

source_not_found is the one that surprises people on shared setups. The URL looks right and the artifact exists, but it belongs to another workspace, so from this workspace it is the same as a dead link. Check which key you are using.

Idempotency-Key is required, so every retry after you fix the input needs a thought about reuse. If you changed the input, use a new key.

Sources

Related posts

More in Developers

All Developers posts

Written by Sume