---
title: FAQ and troubleshooting
description: "Recover from refused keys, quota errors, expired uploads and failed analyses."
url: "https://mediaseer.ai/docs/faq/"
---

# FAQ and troubleshooting

For an API error, branch on `code` and any `details[].field`, not the wording of `message`. The [error schema](https://mediaseer.ai/docs/api/schemas/error/) describes the response. A failed analysis has its own `error` on the analysis record; it is different from a refused HTTP request.

## Why is analytics off after I gave permission?

Browser recording also needs website permission, a confirmed current session or owned anonymous identity, and an available production configuration. Unknown sessions, storage problems and unsupported browser coordination keep it off. Reopen [analytics settings](https://mediaseer.ai/docs/guides/analytics/) to check permission separately from availability.

## Does an accepted erasure mean deletion completed?

No. `REQUESTED` or `RUNNING` means pending work, and `FAILED` is not completion. Keep the old browser proof for status. A newer identity can have permission while an older erasure is still pending; checking that status does not revoke the newer permission. Losing storage does not prove provider deletion.

## Why is my key refused?

`401` `UNAUTHENTICATED` means the API did not accept your authentication. Send an active API key in `X-Api-Key`; check that it has not been revoked or copied with extra whitespace. The [API-key guide](https://mediaseer.ai/docs/guides/api-keys/) shows how to check and replace it. Never put the key in a URL or share it in an error report.

`403` `EMAIL_NOT_VERIFIED` on create or start means you must confirm your account’s email address in the app before retrying. A valid API key does not bypass that requirement. See [confirmed email](https://mediaseer.ai/docs/auth/#confirmed-email).

## What does a quota refusal mean?

`429` `QUOTA_EXCEEDED` has **no `Retry-After` header**. Read `details[].field`:

- `jobs`: [delete an unneeded analysis](https://mediaseer.ai/docs/lifecycle/#stop-and-delete) to free an analysis slot.
- `sizeBytes`: use a smaller file, within the [file-size limit](https://mediaseer.ai/docs/limits/#file-size-and-video-length).
- `storage`: your storage for source videos is full, or the file does not fit into what is left of your plan’s [storage limit](https://mediaseer.ai/docs/limits/#storage). Delete analyses you no longer need; clips do not count.
- `minutes` (start) or `clips` (clip job): the analysed minutes or the clips of this period are used up. Wait until `period.end` in usage; deleting gives none back. See [minutes and clips](https://mediaseer.ai/docs/limits/#minutes-and-clips).
- `dailyStarts`: try again on the next UTC day. Creating an analysis can already refuse for this reason, before you request a start.

For another quota refusal, follow the response’s guidance and try again later. Do not assume that retrying immediately will help. [Limits and costs](https://mediaseer.ai/docs/limits/) describes your account’s allowances.

## When should I use Retry-After?

`429` `RATE_LIMITED` includes `Retry-After`, in seconds. Wait at least that long before retrying. This code comes from account and authentication endpoints: sign-in, registration, resend verification, forgot password and change password. Registration’s daily limit uses it too. It is different from an analysis quota refusal.

## My upload is missing or expired

`409` `UPLOAD_INCOMPLETE` on start means no completed upload was found. Finish the upload, then start again. The upload URL works for 6 days from its issue time; check `upload.expiresAt`. If that URL has expired before you completed the upload, [create a new analysis and upload again](https://mediaseer.ai/docs/guides/upload/).

The start window lasts 7 days from analysis creation. `409` `INVALID_STATE` after that window means create a new analysis. An already completed upload can still start after its upload URL expires, while the start window remains open. `INVALID_STATE` can also mean the analysis is in a final state; check its current `state`.

See [link lifetimes](https://mediaseer.ai/docs/limits/#how-long-links-last) and [starting](https://mediaseer.ai/docs/lifecycle/#starting).

## Why did my analysis fail?

`FAILED` is a final analysis state. Read its `error.message` for the reason and check the [supported file size and video length](https://mediaseer.ai/docs/limits/#file-size-and-video-length). An unsupported video length can be a reason for failure. A failed analysis cannot restart; correct the cause and create a new one. Stopping or deleting does not refund a start that ran.

## What should I do after an upstream error?

`502` `UPSTREAM_ERROR` means an upstream service failed. Retry later. For a start or an uncertain response, check the analysis state first; [starting and recovery](https://mediaseer.ai/docs/lifecycle/#starting) explains safe start retries. If a create request had an uncertain outcome, check your analysis list before creating another, so you do not leave duplicate uploads behind.
