PUBLIC_BACKUP_INVALID_STATE

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

From BizKitHub Docs, the API error code reference
HTTP 409Public API
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. 1

    Read the current `status` via `/backup/detail`.

  2. 2

    Start a new upload with `/backup/start`.

Example response

The API answers with HTTP 409 and a JSON body. Match on errorCode, not on message. Messages may be reworded, codes are stable.

application/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"
}

Mentioned in articles

Documentation articles that refer to PUBLIC_BACKUP_INVALID_STATE.