Menu

Expand
Rate this page:

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"
}
Rate this page:

Thank you for your feedback!

Please select the reason(s) for your feedback. The additional information you provide helps us improve our documentation:

Sending your feedback...
🎉 Thank you for your feedback!
Something went wrong. Please try again.

Thanks for your feedback!

thanks-feedback-gif