---
page_type: error
code: 51006
message: "51006: Client Connection: Connection expired"
level: ERROR
---

## Warning - 51006

### Client Connection: Connection expired

#### Possible Causes

The connection has expired. The connection expiration is set by the `exp` field of the Access Token.

#### Possible Solutions

Make sure clients refresh Access Tokens before they expire. Please, refer to the Twilio SDK documentation for further details.