BizKitHub
PUBLIC_LOCK_DOES_NOT_EXIST

Lock does not exist.

Z BizKitHub Docs, dokumentacja kodów błędów API

Nazwy i opisy kodów prowadzimy po angielsku.

HTTP 404Publiczne 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.

Jak to rozwiązać

  1. 1

    Confirm the lock id and that the lock has been paired with this organisation in the admin UI.

  2. 2

    Re-check the API key scope — TTLock control may require a dedicated scope on the key.

Przykładowa odpowiedź

API odpowiada statusem HTTP 404 i treścią w formacie JSON. Porównuj errorCode, nie message. Komunikaty mogą się zmieniać, kody pozostają stałe.

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"
}
Dokumentacja referencyjna:Kody błędów API|Publiczne API|HTTP 404