---
page_type: error
code: 50382
message: "50382: Timer can't be set without state"
level: ERROR
product: Programmable Chat
---

## Description

You are trying to set 'TimeToInactive' and/or 'TimeToClosed' without 'State' parameter in request during conversation creation

### Possible Causes

- 'State' parameter is missing while 'TimeToInactive' and/or 'TimeToClosed' are present

### Possible Solutions

- Add 'State' parameter in conversation creation request
- Remove 'TimeToInactive' and/or 'TimeToClosed' from conversation creation request