PUBLIC_BACKUP_INVALID_STATEThe backup is not in a state that allows this operation.
Aus BizKitHub Docs, der Referenz der API-Fehlercodes
Titel und Beschreibungen der Codes pflegen wir auf Englisch.
HTTP 409Öffentliche 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.
So beheben Sie es
- 1
Read the current `status` via `/backup/detail`.
- 2
Start a new upload with `/backup/start`.
Beispielantwort
Die API antwortet mit HTTP 409 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.
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"
}In Artikeln erwähnt
Dokumentationsartikel, die auf PUBLIC_BACKUP_INVALID_STATE verweisen.