# 90014: Validity Period should be positive integer

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when `validity_period` is not a positive integer. For Messaging Service messages and Message resources, Twilio accepts integer values from `1` to `36000` seconds.

### Possible causes

* You set `validity_period` to `0`, a negative number, or a non-integer value. Twilio requires a positive integer.
* You configured a Messaging Service with a validity period outside the supported range of `1` to `36000` seconds.

### Possible solutions

* Set `validity_period` to a whole number between `1` and `36000`.
* If you are using a Messaging Service, enter the queue time in seconds in the Validity period setting.
* Update the message request or Messaging Service configuration, then send the message again.

#### Additional resources

* [Message resource](/docs/messaging/api/message-resource)
* [Messaging Services](/docs/messaging/services)
