---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/50382#article
headline: "50382: Timer can't be set without state"
url: https://www.twilio.com/docs/api/errors/50382
inLanguage: en
dateModified: 2026-03-11T20:43:38.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 50382: Timer can't be set without state

Log Type: APPLICATION

Log Level: ERROR

## 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
