PUBLIC_LOCK_IS_NOT_ACTIVELock is not active.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 409Verejné 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.
Ako to vyriešiť
- 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.
Ukážka odpovede
API odpovie statusom HTTP 409 a telom vo formáte JSON. Porovnávajte errorCode, nie message. Správy sa môžu preformulovať, kódy zostávajú rovnaké.
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"
}