Skip to contentSkip to navigationSkip to topbar
Rate this page:
On this page

Dequeue Instruction does not have a valid 'status_callback_events' parameter



ERROR: 40134

error-40134 page anchor
TASKROUTER
ERROR

Invalid 'status_callback_events' parameter - Dequeue Instruction

invalid-status_callback_events-parameter---dequeue-instruction page anchor

Possible Causes

possible-causes page anchor
  • You provided an invalid format in your "status_callback_events" field.
  • Make certain "status_callback_events" contains a valid comma separated string of events to subscribe to if responding to an assignment callback
  • Make certain each "DequeueStatusCallbackEvent" contains an acceptable event to subscribe to if making a POST /v1/Workspaces/{WorkspaceSid}/Tasks/{TaskSid}/Reservations/{ReservationSid}

_10
{
_10
"instruction": "dequeue",
_10
"to": "client:alice",
_10
"from": "bob",
_10
"post_work_activity_sid": "WA0123456789abcdef0123456789abcdef",
_10
"status_callback_events": "initiated,ringing,answered,completed"
_10
}


Rate this page: