# TTLE_1: TTLock API: operation failed (code 1)

- Module: TTLE. TTLock cloud API error codes (suffix = TTLock error number)
- Severity: Error
- Impact: Operators. Organisation staff should take a look. Customers are not affected.
- Retry: Automatic. The platform retries or self-heals on its own.
- Reference: https://docs.bizkithub.com/en/system-codes/TTLE_1

## What happened

The TTLock cloud API rejected an operation with its generic failure code. This often happens when the lock cannot acknowledge the request.

## Likely causes

- The TTLock cloud returned its generic failure code.
- The lock could not acknowledge the request, often due to gateway connectivity.

## How to resolve

1. Check the lock's gateway connectivity under IoT locks.
2. Queued operations are retried automatically; review the lock's activity if failures persist.

## Related codes

- TTL_QUEUE_DEAD: TTLock queued operation abandoned
- TTLE_UNKNOWN: TTLock API: unknown error
- TTL_003: TTLock gateway is offline
- TTLE_10004: TTLock API: request rejected (code 10004)
- TTLE_3007: TTLock API: lock out of range or duplicate passcode
- TTLE_2012: TTLock API: device not connected to a gateway
