Skip to contentSkip to navigationSkip to topbar
Page toolsOn this pageProducts used
Looking for more inspiration?Visit the
Error
Application error

36006: Broadcast Cannot Be Canceled

Twilio Messaging DocumentationMessaging

Description

description page anchor

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.

Possible causes

possible-causes page anchor
  • 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, or CANCELED.
  • 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.

Additional resources

additional-resources page anchor