---
page_type: error
code: 40120
message: "40120: TaskRouter->Direct"
level: ERROR
product: TaskRouter
---

## Error - 40120

### Missing or Invalid 'url' parameter - Redirect Instruction

#### 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

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