Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this pageProducts used
Looking for more inspiration?Visit the
Error
Twilio error

31000: Generic error

Twilio Voice DocumentationVoice

Description

description page anchor

Error 31000 is a generic Programmable Voice error in the 310xx series. More details are often available in the Twilio Debugger or, for the JavaScript SDK, in the twilioError field.

Possible causes

possible-causes page anchor
  • A non-specific condition occurred in the Programmable Voice SDK or platform during call setup or operation, and no more-specific 31xxx code was emitted. Refer to the Twilio Debugger details or the SDK's twilioError field for additional context.
  • The underlying issue surfaced elsewhere in logs as a related 31xxx error, for example connection or signaling problems, which should be identified and addressed based on the more specific code shown in your logs.
  • Check Twilio Debugger error logs in Console under Monitor > Logs > Error logs to review the event, its description, potential causes, and suggested solutions.
  • If you use the Voice JavaScript SDK, inspect the twilioError field on emitted errors for diagnostics that explain the generic 31000 condition.
  • Use the troubleshooting guidance for Programmable Voice to examine request and response details, identify failing webhooks or TwiML, and isolate where the issue occurs in the call flow.
  • When you open a support case, include recent Call SIDs, Notification SIDs, relevant error codes, and SDK logs so that Support can investigate quickly.

Additional resources

additional-resources page anchor