21624: Invalid validity period value
MESSAGING
ERROR
You provided an invalid value for the ValidityPeriod parameter when creating a Message resource. Set ValidityPeriod to an integer from 1 to 36000 seconds.
ValidityPeriodis less than 1ValidityPeriodis greater than 36000ValidityPeriodis not an integer value- Your application passes
ValidityPeriodin an unsupported format, such as a string with non-numeric characters or a decimal value
- Update your request so
ValidityPeriodis an integer between 1 and 36000 - Validate the
ValidityPeriodvalue in your application before you send the API request - Remove
ValidityPeriodfrom the request if you do not need to override the default message validity behavior - Review the code that builds your Messaging API request and confirm the
ValidityPeriodparameter is mapped correctly