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

# 40120: TaskRouter->Direct

Log Level: ERROR

## Description

### Possible causes

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

### Possible solutions

* Make certain "url" is provided and contains a well formed HTTP or HTTPS URL.

### Example

```bash
{
	"instruction": "redirect",
	"call_sid": "CA0123456789abcdef0123456789abcdef",
	"url": "https://example.com/twiml?querystring=1234"
}
```
