31100: Malformed request
VOICE
ERROR
31100 indicates a generic malformed request in the Twilio Programmable Voice context. The 311xx series represents malformed requests in the Voice SDKs, with 31100 serving as the generic catchall before a more specific 3111x code is identified. The Error and Warning Dictionary lists 31100 as Malformed request under Voice.
- Required parameter array is missing in the request, which maps to 31101 in the same malformed request family.
- Authorization token is missing from the request, corresponding to 31102.
- The total length of parameters exceeds the maximum allowed value, corresponding to 31103.
- Invalid bridge token supplied, corresponding to 31104.
- Invalid client name identity, such as using disallowed characters or exceeding 256 characters, corresponding to 31105. Voice identities may include only alphanumeric and underscore characters and have a maximum length of 256.
- Validate request structure and include the required parameter array and fields before sending, aligning with 31101 guidance.
- Ensure the request includes a valid authorization token or Voice Access Token when initiating SDK connections, aligning with 31102.
- Keep the total parameter size under the documented maximum to avoid 31103 conditions.
- Verify the client identity follows Voice rules: only alphanumeric and underscore characters and a maximum length of 256. Regenerate tokens if needed.
- Use Twilio Monitor Error Logs and Alerts to inspect error details and the request or response involved, and consult Voice troubleshooting guidance to diagnose malformed requests. Enable SDK debugging as needed for additional context.