# Retry Video Processing

```
POST 
/v1/:slug/assets/:token/retry_video_processing
```

The escape hatch for a video whose `stream_url` is stuck at null: starts an HLS encode unless one has already finished, whether the previous attempt failed, died on its way to the encoder or was never made. You do not need it for the normal path — on the plans that do not encode on upload (Free, Pro, Creative) simply reading the asset with GET /v1/{slug}/assets/{token} starts the encode, and `stream_url` fills in a few minutes later. Returns 422 when the encode has already finished and when the workspace cannot stream video at all. DO NOT POLL THIS ENDPOINT: it cannot tell a running encode from a dead one, so every call while one is under way queues a second job. To wait for a result, poll GET /v1/{slug}/assets/{token} and watch `stream_url`.

## Request[​](#request "Direct link to request")

## Responses[​](#responses "Direct link to Responses")

* 200
* 422

successful

not a video
