36006: Broadcast Cannot Be Canceled
MESSAGING
ERROR
This error occurs when you try to cancel a Broadcast that is already in a non-cancelable state. You can cancel a Broadcast only while it is still in progress. Twilio returns this error when the Broadcast status is EXECUTION_COMPLETED, EXECUTION_FAILURE, or CANCELED.
- The Broadcast already completed execution successfully.
- The Broadcast completed with a failure.
- The Broadcast was already canceled.
- Check the current Broadcast status before you send the cancel request.
- Cancel the Broadcast only while it is still in progress and not in
EXECUTION_COMPLETED,EXECUTION_FAILURE, orCANCELED. - Verify that the Broadcast SID you provide belongs to the Broadcast you intend to cancel.
- Review the failed request in the Console Debugger or Messaging error logs to confirm which Broadcast SID was used and what state it was in when the request failed.