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

# 40155: Invalid Workspace for Known Worker

Log Type: APPLICATION

Log Level: ERROR

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