Symptom
When attempting to send an SMS API request, you receive HTTP error 413 Request Entity Too Large.
Applies To
- API Request
- SMS Failure
- HTTP Error 413
Resolution
We cap the maximum request size at 4000 characters for all of the APIs (and at 8000 for TTS), to protect our platform from potential attacks overwhelming our backend. When getting this error, review the API request if any part of the request parameters exceeded the maximum size.
Cause
If you are experiencing SMS send failures with status code 413 Request Entity Too Large, this is due to an oversized API request.
Articles in this section
- SMS Best Practices During COVID-19 for Users Sending Traffic to North America
- Troubleshooting SMS Delivery
- Global Sender ID Portal - FAQs
- Global Sender ID Registration Guide
- Recommended Sender ID option for A2P Alert and Transactional Messages to US Virtual Numbers
- Partner Quota Violation Error
- SMS Delivery Failure Error 95 - Unknown
- DLR Statuses
- Is USSD supported via SMS for the SMS API?
- What countries require STOP management for recipient opt-out?