---
page_type: error
code: 40134
message: >-
  40134: Dequeue Instruction does not have a valid 'status_callback_events'
  parameter
level: ERROR
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"
}
```