Validity period can only be set to integers between 1 and 14,400 seconds (4 hours max).
Invalid validity period value
Fix validity period value