# TTLE_3002: TTLock API: gateway offline

- Module: TTLE. TTLock cloud API error codes (suffix = TTLock error number)
- Severity: Warning
- Impact: Customers. End customers are affected (e.g. a missing e-mail, payment or order).
- Retry: Automatic. The platform retries or self-heals on its own.
- Reference: https://docs.bizkithub.com/en/system-codes/TTLE_3002

## What happened

The TTLock API reports the lock's gateway as offline during an operation. The lock is marked offline and the operation is retried later.

## Likely causes

- The lock's gateway is offline at the time of the API call.

## How to resolve

1. Check that the gateway is powered and connected to the internet.
2. Queued operations are retried automatically once the gateway is back.

## Related codes

- TTL_003: TTLock gateway is offline
- TTLE_2012: TTLock API: device not connected to a gateway
- TTLE_3009: TTLock API: remote command timed out
- TTLE_1: TTLock API: operation failed (code 1)
- TTLE_10004: TTLock API: request rejected (code 10004)
- TTLE_3003: TTLock API: gateway busy
