Skip to contentSkip to navigationSkip to topbar
Page toolsOn this page
Looking for more inspiration?Visit the

14220: Enqueue: Provided Workflow was not a valid sid


ERROR: 14220

error-14220 page anchor
ERROR

This error occurs when <Enqueue> receives a workflowSid value that is not a valid TaskRouter Workflow SID. When you use workflowSid, Twilio creates a TaskRouter Task for the call and routes it with the specified Workflow. Workflow resources use SIDs that start with WW.

Possible causes

possible-causes page anchor
  • The workflowSid value does not match the format for a TaskRouter Workflow SID. Workflow SIDs start with WW and are 34 characters long.
  • The value passed in workflowSid is not the SID of a Workflow resource. This usually means a placeholder value, a friendly name, or a different SID type was passed instead of a Workflow SID.
  • You intended to enqueue the call into a standard Voice queue, but used workflowSid instead of a queue name inside <Enqueue>.
  • Update <Enqueue> to pass a valid Workflow SID in workflowSid. Use the WW... SID for the Workflow that should route the call.
  • Verify that the Workflow exists before generating TwiML. Retrieve the Workflow from TaskRouter or copy the SID from the Workflow resource so the value you send is a valid Workflow SID.
  • If you want to place the call into a standard Voice queue instead of TaskRouter routing, remove workflowSid and put the queue name between the opening and closing <Enqueue> tags.

Additional resources

additional-resources page anchor