PUBLIC_LOCK_IS_NOT_ACTIVELock is not active.
HTTP 409Public 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.
How to resolve
- 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.
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": "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"
}