Menu

Rate this page:

Thanks for rating this page!

We are always striving to improve our documentation quality, and your feedback is valuable to us. How could this documentation serve you better?

Error 40134

Product: TaskRouter

Error - 40134

Invalid 'status_callback_events' parameter - Dequeue Instruction

Possible Causes

  • You provided an invalid format in your "status_callback_events" field.

Possible Solutions

  • 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}

Example

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