# 40147: Supervise instruction failed: missing or invalid 'contact\_uri'

Log Type: APPLICATION

Log Level: ERROR

## Description

This error occurs when you issue a Supervise instruction and the Supervisor's Worker attributes do not include a valid `contact_uri`. TaskRouter stores Worker attributes as JSON and needs `contact_uri` to know whom to call.

### Possible causes

* The Supervisor's Worker attributes do not include `contact_uri`.
* The Supervisor's Worker attributes are not valid JSON, so TaskRouter cannot read `contact_uri`.
* The `contact_uri` value is invalid.
* The `contact_uri` value does not point to a valid phone number or client ID for your implementation.

### Possible solutions

* Update the Supervisor's Worker attributes to include a valid `contact_uri`.
* Make sure the Worker attributes are valid JSON before you save them.
* Set `contact_uri` to the phone number or client ID that should receive the Supervise call.
* Fetch the Worker after updating it to confirm the attributes were saved, then retry the Supervise instruction.

#### Additional resources

* [Worker Resource](/docs/taskrouter/api/worker)
* [Task Reservation Resource](/docs/taskrouter/api/reservations)
* [TaskRouter: Skills-based routing for contact centers](/docs/taskrouter)
