# PUBLIC_BACKUP_INVALID_STATE: The backup is not in a state that allows this operation.

- Category: Public API
- HTTP status: 409
- Reference: https://docs.bizkithub.com/en/errors/PUBLIC_BACKUP_INVALID_STATE

## What happened

Part URLs, `complete` and `abort` only work while the backup is `uploading`. A completed, failed or aborted backup cannot be changed. Start a new backup instead.

## How to resolve

1. Read the current `status` via `/backup/detail`.
2. Start a new upload with `/backup/start`.

## Example response

```json
{
  "state": "error",
  "code": 409,
  "message": "The backup is not in a state that allows this operation.",
  "errorCode": "PUBLIC_BACKUP_INVALID_STATE",
  "hint": "Part URLs, `complete` and `abort` only work while the backup is `uploading`. A completed, failed or aborted backup cannot be changed. Start a new backup instead.",
  "documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_BACKUP_INVALID_STATE"
}
```
