---
"@context": https://schema.org
"@type": TechArticle
"@id": https://www.twilio.com/docs/api/errors/40131#article
headline: "40131: TaskRouter->Dequeue"
url: https://www.twilio.com/docs/api/errors/40131
inLanguage: en
dateModified: 2026-03-11T20:01:16.000Z
author:
  "@type": Organization
  name: Twilio Developer Education Team
publisher:
  "@type": Organization
  name: Twilio
---

# 40131: TaskRouter->Dequeue

Log Level: ERROR

## Description

### Possible causes

* You did not provide a "to" parameter on your 'dequeue' instruction.
* You provided an invalid format in your "to" field.

### Possible solutions

* Make certain "to" contains a valid phone number, client URI, or SIP URI.

### Example

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