# PUBLIC_LOCK_DOES_NOT_EXIST: Lock does not exist.

- Category: Public API
- HTTP status: 404
- Reference: https://docs.bizkithub.com/en/errors/PUBLIC_LOCK_DOES_NOT_EXIST

## What happened

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.

## How to resolve

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.

## Example response

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