---
id: reference.content-sdk.ContentRestErrorCode
title: ContentRestErrorCode
summary: Error categories used by the content REST protocol.
type: code-reference
area: publishing
subarea: publishing-content-delivery
canonical: /content-delivery/sdk/content-rest-error-code
---

# ContentRestErrorCode

> Documentation index: [llms.min.txt](https://www.shoalrun.com/llms.min.txt) · Document manifest: [documents.json](https://www.shoalrun.com/documents.json)

**Updated: 2026-09-27.**

**Type** `shoalrun.content.ContentRestErrorCode`

```typescript
type ContentRestErrorCode = 'invalid_request' | 'not_found' | 'unsupported_format' | 'stale_revision' | 'method_not_allowed' | 'internal_error';
```

Error categories used by the content REST protocol.
