# Javascript: ReconnectionFailedEventArgs.reason Property

> The reason the reconnection failed.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 33.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: ReconnectionFailedEventArgs.reason Property
- **157 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedeventargs/reason-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedeventargs/reason-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedeventargs/reason-property/llms-full.txt

---

### Description

The reason the reconnection failed.

### Syntax

```javascript
<string> ReconnectionFailedEventArgs.reason
```

### Examples

The following example demonstrates `ReconnectionFailedEventArgs.reason` in a practical document-editing workflow. The reason the reconnection failed.

```javascript
function inspectReason(reconnectionFailedEventArgs) {
    const reason = reconnectionFailedEventArgs.reason;
    console.log("reason:", reason);
}
```

---

## Nearby

- **Previous:** [ReconnectionFailedEventArgs Object](https://docs.textcontrol.com/ds-server/reference/javascript/reconnectionfailedeventargs/llms-full.txt)
- **Next:** [Rectangle Object](https://docs.textcontrol.com/ds-server/reference/javascript/rectangle/llms-full.txt)
