PUBLIC_BACKUP_INVALID_INSTALL_PROFILEThe backup installer profile is not valid.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 400Publiczne API
The profile says what the machine backs up (`postgres`, `mysql`, `files`, `docker-volume`), the target (database name, absolute path or Docker volume), the interval (`6h`, `24h`, `7d`) and the time (`HH:MM`).
Jak to rozwiązać
- 1
Use an absolute path for files and a plain name (letters, digits, `_ . -`) for databases and volumes.
Przykładowa odpowiedź
API odpowiada statusem HTTP 400 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
application/json
{
"state": "error",
"code": 400,
"message": "The backup installer profile is not valid.",
"errorCode": "PUBLIC_BACKUP_INVALID_INSTALL_PROFILE",
"hint": "The profile says what the machine backs up (`postgres`, `mysql`, `files`, `docker-volume`), the target (database name, absolute path or Docker volume), the interval (`6h`, `24h`, `7d`) and the time (`HH:MM`).",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_BACKUP_INVALID_INSTALL_PROFILE"
}Wspomniano w artykułach
Artykuły dokumentacji, które odwołują się do PUBLIC_BACKUP_INVALID_INSTALL_PROFILE.