Skip to content

Upload URL is invalid or expired

What the upload_token_invalid error from the Perafly API means and what to do about it.

On this page
Code
upload_token_invalid
HTTP status
401

What it means

The upload URL is invalid or has expired (upload URLs last one hour).

What to do

Declare the files again with POST /v1/publish to get fresh upload URLs.

Read more: Publishing

Example response

This is the shape of the answer. title and detail are in English, or in Turkish with Accept-Language: tr; detail appears when there's more to say.

{
  "type": "https://perafly.com/docs/errors/upload_token_invalid",
  "title": "Upload URL is invalid or expired",
  "status": 401,
  "code": "upload_token_invalid",
  "instance": "/v1/…",
  "requestId": "req_…"
}

All error codes