PUBLIC_LOCK_DOES_NOT_EXISTLock does not exist.
Z BizKitHub Docs, reference chybových kódů API
Názvy a popisy kódů udržujeme v angličtině.
HTTP 404Veřejné 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 vyřešit
- 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ázka odpovědi
API odpoví statusem HTTP 404 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": 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"
}