BizKitHub
PUBLIC_LOCK_IS_NOT_ACTIVE

Lock is not active.

Z BizKitHub Docs, reference chybových kódů API

Názvy a popisy kódů udržujeme v angličtině.

HTTP 409Veřejné 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 vyřešit

  1. 1

    Open the lock detail in the admin UI and re-activate it; if the TTLock pairing is broken, re-pair it.

  2. 2

    Check the physical lock status — flat battery or lost connectivity will keep the platform record inactive.

Ukázka odpovědi

API odpoví statusem HTTP 409 a tělem ve formátu JSON. Porovnávejte errorCode, ne message. Zprávy se mohou přeformulovat, kódy zůstávají stejné.

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"
}