Skip to contentSkip to navigationSkip to topbar
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}
1
{
2
"instruction": "dequeue",
3
"to": "client:alice",
4
"from": "bob",
5
"post_work_activity_sid": "WA0123456789abcdef0123456789abcdef",
6
"status_callback_events": "initiated,ringing,answered,completed"
7
}

Need some help?

Terms of service

Copyright © 2024 Twilio Inc.