---
page_type: error
code: 30045
message: "30045: Validity Period is less than zero or greater than maximum allowed"
level: WARNING
product: Programmable Messaging
---

## Description

Validity Period must be >= 0 and <= the maximum of 10 hours

### Possible Causes

The invalid Validity Period value was either specified as part of the API request or is configured on an associated Messaging Service.

### Possible Solutions

Change Validity Period to be >= 0 and <= 10 hours (in seconds)