Error
Application error
21626: Invalid 'StatusCallbackEvent'
Voice
You passed one or more invalid values in StatusCallbackEvent for a Programmable Voice call. Use only initiated, ringing, answered, or completed. If you do not specify StatusCallbackEvent, Twilio sends the completed callback by default.
- You sent a
StatusCallbackEventvalue other thaninitiated,ringing,answered, orcompleted. - You passed multiple callback events in an invalid format. For REST API calls, send each event in a separate
status_callback_eventparameter. - You used TwiML with an invalid
statusCallbackEventattribute value or formatting. When you specify multiple events in TwiML, separate them with spaces.
- Replace invalid values with supported call progress events only:
initiated,ringing,answered, andcompleted. - If you only need the final call result, remove
StatusCallbackEventand keepStatusCallback. Twilio sends thecompletedevent by default. - If you create calls with the REST API, send each event as a separate
status_callback_eventparameter or use your helper library's array form forstatusCallbackEvent. - If you use TwiML such as
<Dial><Number>,<Dial><Sip>, or similar Voice call flows, provide multiplestatusCallbackEventvalues as a space-delimited list.