PUBLIC_LOCK_IS_NOT_ACTIVELock is not active.
Z BizKitHub Docs, dokumentacja kodów błędów API
Nazwy i opisy kodów prowadzimy po angielsku.
HTTP 409Publiczne API
The lock exists and belongs to this organisation but is currently marked inactive (e.g. offline, deactivated by an admin, or its TTLock pairing was revoked). Inactive locks reject all passcode and unlock operations until reactivated.
Jak to rozwiązać
- 1
Open the lock detail in the admin UI and re-activate it; if the TTLock pairing is broken, re-pair it.
- 2
Check the physical lock status — flat battery or lost connectivity will keep the platform record inactive.
Przykładowa odpowiedź
API odpowiada statusem HTTP 409 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.
application/json
{
"state": "error",
"code": 409,
"message": "Lock is not active.",
"errorCode": "PUBLIC_LOCK_IS_NOT_ACTIVE",
"hint": "The lock exists and belongs to this organisation but is currently marked inactive (e.g. offline, deactivated by an admin, or its TTLock pairing was revoked). Inactive locks reject all passcode and unlock operations until reactivated.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_LOCK_IS_NOT_ACTIVE"
}