# TTL_002: Unable to generate a unique passcode

- Module: TTL. TTLock smart-lock provisioning and gateway health
- Severity: Error
- Impact: Customers. End customers are affected (e.g. a missing e-mail, payment or order).
- Retry: Manual. Safe for an operator to retry the action.
- Reference: https://docs.bizkithub.com/en/system-codes/TTL_002

## What happened

The platform could not generate a passcode for the lock that does not collide with an existing one. No passcode was created for the request.

## Likely causes

- The generator could not find a passcode that does not collide with codes already known for the lock.
- The lock holds an unusually large number of codes, or local records are out of sync with the TTLock cloud.

## How to resolve

1. Review the lock's passcodes in the TTLock app or dashboard and remove expired ones.
2. Retry creating the passcode for the reservation.
3. Contact support@bizkithub.com if the problem persists.

## Related codes

- TTL_001: TTLock passcode provisioning failed
- TTLE_3007: TTLock API: lock out of range or duplicate passcode
- TTL_006: Smart lock has no usable backup code
- TTL_007: Access code not moved with the reservation
- TTL_QUEUE_DEAD: TTLock queued operation abandoned
- TTL_003: TTLock gateway is offline
