PUBLIC_LOCK_DOES_NOT_EXISTLock does not exist.
Aus BizKitHub Docs, der Referenz der API-Fehlercodes
Titel und Beschreibungen der Codes pflegen wir auf Englisch.
HTTP 404Öffentliche API
The TTLock referenced by id/code is not registered for this organisation, has been deleted, or your API key has no permission to control it.
So beheben Sie es
- 1
Confirm the lock id and that the lock has been paired with this organisation in the admin UI.
- 2
Re-check the API key scope — TTLock control may require a dedicated scope on the key.
Beispielantwort
Die API antwortet mit HTTP 404 und einem JSON-Body. Vergleichen Sie errorCode, nicht message. Meldungen können umformuliert werden, Codes bleiben stabil.
application/json
{
"state": "error",
"code": 404,
"message": "Lock does not exist.",
"errorCode": "PUBLIC_LOCK_DOES_NOT_EXIST",
"hint": "The TTLock referenced by id/code is not registered for this organisation, has been deleted, or your API key has no permission to control it.",
"documentationUrl": "https://docs.bizkithub.com/errors/PUBLIC_LOCK_DOES_NOT_EXIST"
}