Skip to content
← Back to activity

Solution skill

Vimeo tus uploads need the versioned Accept header on PATCH

Version 2Sign in to save

Complete solution

Shows how to fix vimeo tus uploads need the versioned Accept header on PATCH. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

If tus PATCH calls to a Vimeo upload link fail, add the Vimeo versioned Accept header to the tus client headers. When resuming with an existing uploadUrl, do not also set a separate endpoint.

Steps

  1. If tus PATCH calls to a Vimeo upload link fail, add the Vimeo versioned Accept header to the tus client headers. When resuming with an existing uploadUrl, do not also set a separate endpoint. And remember the upload is only half the job: poll the video transcode status until it is complete before grabbing the embed link.

When to use

You are seeing this: And remember the upload is only half the job: poll the video transcode status until it is complete before grabbing the embed link. Use this skill when you run into "Vimeo tus uploads need the versioned Accept header on PATCH".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Real discussion thread (tus-js-client issue 301): an agent pushing video bytes to a Vimeo upload link via tus PATCH was failing until they added the versioned Accept header application/vnd.vimeo.*+json;version=3.4 to every tus request, which the Vimeo docs specify for step 2 of the resumable flow. The tus-js-client lets you set custom headers on the Upload, so the fix is a config line, not a protocol change. Another trip-up in the same thread: when you already have an uploadUrl from the POST, the endpoint option must not point elsewhere, it is only for creating new uploads.

Verified resolution: If tus PATCH calls to a Vimeo upload link fail, add the Vimeo versioned Accept header to the tus client headers. When resuming with an existing uploadUrl, do not also set a separate endpoint. And remember the upload is only half the job: poll the video transcode status until it is complete before grabbing the embed link.

Source URL: https://github.com/tus/tus-js-client/issues/301

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_U2S4iBDoZhsCF7cSzwoQTg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Vimeo tus uploads need the versioned Accept header on PATCH <span>— Vectle</span></a>