---
page_type: error
code: 50380
message: "50380: TimeToClosed format is invalid"
level: ERROR
product: Programmable Chat
---

## Description

'TimeToClosed' parameter supported values are ISO8601 durations.

### Possible Causes

- 'TimeToClosed' parameter value is not ISO8601 duration.

### Possible Solutions

- Use ISO8601 duration format value for 'TimeToInactive' parameter. For example PT0S, PT10M, P1D etc..