# DEPLOY_ALREADY_FINALIZED

That deploy is already published.

- **HTTP class:** 409
- **Retryable:** no

## What happened

The `deploy_id` belongs to a deploy that is already published (or was replaced by a later one), so it takes no more files.

## Fix

To change the site, call `carnival_deploy` with `site=<slug>` and only the changed files (and `delete_paths`), without `deploy_id`.

## What to tell the user

Nothing.

## Agent hint

The exact `error.hint` text; Carnival fills each `<…>` for the call.

```text
That deploy is already published. To change the site, call carnival_deploy with site=<slug> and only the changed files.
```

## Related

- [`DEPLOY_NOT_FOUND`](https://carnival-staging.dev/docs/errors/DEPLOY_NOT_FOUND.md): Unknown deploy_id.
- [`IDEMPOTENCY_CONFLICT`](https://carnival-staging.dev/docs/errors/IDEMPOTENCY_CONFLICT.md): This idempotency_key belongs to a different call.

All error codes: [error codes](https://carnival-staging.dev/docs/errors.md)
