---
page_type: error
code: 40155
message: "40155: Invalid Workspace for Known Worker"
level: ERROR
product: TaskRouter
---

## Description

Worker is not part of the workspace referenced by the Workflow target

### Possible Causes

The Worker targeted by the Known Worker Routing feature is not a member of the Workspace referenced by the Workflow Target

### Possible Solutions

Ensure the Worker is a member of the Workspace referenced by the Workflow that is configured to use Known Agent Routing. Find out more about the Known Worker Routing feature here: https://www.twilio.com/docs/taskrouter/workflow-configuration/known-agent-routing