> From *AT Protocol Spaces: A Field Guide* on atproto.how, revised 2026-11-23.
> Web page: https://atproto.how/atproto-spaces-field-guide/d-errors
> Index for agents: https://atproto.how/llms.txt · Text CC BY-SA 4.0, code samples MIT.

# Appendix D · Errors

Errors declared in the lexicons \[spec\], plus the few `atproto-pds` adds, which are marked.

<a id="table-d-1"></a>

**Table D.1.** Space errors

| Error | Declared by | Meaning |
| --- | --- | --- |
| `SpaceNotFound` | most methods | No such space; `authorizeSpaceSync` may also use it in place of `AccountNotAuthorized` |
| `SpaceDeleted` | `authorizeSpaceSync` | Deleted; drop data |
| `SpaceAlreadyExists` | `createSpace` | The space already exists |
| `AccountNotAuthorized` | `authorizeSpaceSync` | The policy refuses the identity |
| `AppNotAuthorized` | `authorizeSpaceSync` | The policy refuses the app, or a required attestation is missing |
| `NotAuthorized` | `authorizeSpaceSync`, space management, member methods | Generic refusal, or the caller isn’t the authority |
| `InvalidDelegationToken` | `authorizeSpaceSync` | Bad delegation token |
| `InvalidClientAttestation` | `authorizeSpaceSync` | Attestation or client metadata can’t be verified |
| `RegistrationNotConfirmed` | `authorizeSpaceSync` | The notify endpoint didn’t echo the challenge |
| `UnsupportedPolicy` | `createSpace`, `updateSpace`, `importSpaceMeta` | Host lacks the policy |
| `PolicyMismatch` | `putMembers`, `removeMembers`, `listMembers` | The space isn’t a memberspace |
| `FutureRev` | `notifyRepoUpdate` | `repoRev` too far in the future |
| `InvalidSpaceMac` | `getLatestCommit`, `getRecord`, `getRepo`, `listRepoOps` | Missing or bad `Accept-Signature` |
| `InvalidCursor` | `listRepoOps`, `listRecords`, `listSpaces`, `listMembers` | Malformed cursor |
| `RepoNotFound` | repo-host reads | Repo never written |
| `RecordNotFound` | `getRecord`, `applyWrites` | No such record |
| `RecordAlreadyExists` | `createRecord`, `applyWrites` | The record key is taken |
| `BlobNotFound` | `getBlob` | No such blob, or taken down |
| `InvalidRepoFile`, `RepoMismatch` | `importRepo` | Malformed archive, or another account’s repo |
| `InvalidSpaceMeta` | `importSpaceMeta` | Malformed archive |
| `RepoTakendown`, `RepoSuspended`, `RepoDeactivated` | repo-host reads; `authorizeSpaceSync` and `listWriters` declare the first and last for the authority | Account status |
| `UpstreamFailure` | not declared; `atproto-pds` (502) | A managing app couldn’t answer; retry |
