Register by 10/16 for $250 off the on-site price.

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}


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

Need some help?

We all do sometimes; code is hard. Get help now from our support team, or lean on the wisdom of the crowd browsing the Twilio tag on Stack Overflow.