---
page_type: error
code: 40135
message: "40135: TaskRouter->Dequeue"
level: ERROR
product: TaskRouter
---

## Error - 40135

### The Reservation must currently be Pending - Dequeue Instruction

#### Possible Causes

- The Reservation has been moved to a non-Pending state.

#### Possible Solutions

- Make certain that the Reservation is currently Pending.

#### Example

```
{
	"instruction": "dequeue",
	"to": "client:alice",
	"from": "18001234567",
	"post_work_activity_sid": "WA0123456789abcdef0123456789abcdef"
}
```