> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.scripe.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Workspace unavailable

# `workspace_unavailable`

| HTTP | When                                                             |
| ---- | ---------------------------------------------------------------- |
| 400  | The targeted workspace is not accessible to the consenting user. |

Returned when:

* A `Scripe-Workspace-Id` header (or MCP `switch_workspace` call) names
  a workspace the consenting user is not currently a member of — access
  follows **live** membership, so leaving a workspace revokes API reach
  within \~60 seconds.
* The consent's pinned workspace itself is no longer accessible to the
  user.
* On the REST API with an API key: a `Scripe-Workspace-Id` header that
  disagrees with the key's own workspace (keys are single-workspace).

Use `GET /v1/workspaces` (or the MCP `list_workspaces` tool) to see
what the token can currently reach. See
[Workspaces § Multi-workspace access](../workspaces.md#multi-workspace-access).
