PUBLIC_LOCK_DOES_NOT_EXISTLock does not exist.
Z BizKitHub Docs, referencia chybových kódov API
Názvy a popisy kódov udržiavame v angličtine.
HTTP 404Verejné 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.
Ako to vyriešiť
- 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.
Ukážka odpovede
API odpovie statusom HTTP 404 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": 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"
}