---
title: "Invalid Upload Token"
description: "The upload URL is malformed or its signature is not valid. Use the upload_url exactly as the API returned it, or create a new upload URL."
canonical: "https://signatureapi.com/docs/v1/errors/invalid-upload-token"
source: "https://signatureapi.com/docs/v1/errors/invalid-upload-token.md"
last_verified_api_version: "1.18.1"
---

# Invalid Upload Token

The upload URL is malformed or its signature is not valid. Use the upload_url exactly as the API returned it, or create a new upload URL.

_Last verified against API version 1.18.1._

## What Happened

The `token` in the `upload_url` is malformed or its signature does not verify, so the API refused the PUT. Nothing is stored.

This usually means the URL was changed after the API returned it.

## Example response

```json 422 Unprocessable Content (application/problem+json)
{
  "type": "https://signatureapi.com/docs/v1/errors/invalid-upload-token",
  "title": "Invalid Upload Token",
  "status": 422,
  "detail": "The upload token is malformed or its signature is invalid."
}
```

## How to Fix

- PUT to the `upload_url` exactly as the API returned it. Do not edit, re-encode or truncate it, and keep its query string.
- If you copied the URL through a log, a shell or a message, check that no characters were lost.
- [Create a new upload URL](https://signatureapi.com/docs/api/resources/uploads/create-url) and PUT the file to it.

Still stuck? [Contact support](https://signatureapi.com/support).
