# unsupported-encoding

> The Content-Encoding is not accepted. Use gzip or none.

`415 Unsupported Media Type` · `Unsupported content encoding` · `type: https://docs.dlogify.com/errors/unsupported-encoding`

## When it happens

- The `Content-Encoding` header is something other than `gzip` or `identity` (for example `br` or `zstd`).

## How to fix it

Compress with gzip and send `Content-Encoding: gzip`, or send the body uncompressed without the header.

## Example

```http
HTTP/1.1 415 Unsupported Media Type
Content-Type: application/problem+json
```

```json
{
  "type": "https://docs.dlogify.com/errors/unsupported-encoding",
  "title": "Unsupported content encoding",
  "status": 415,
  "detail": "Content-Encoding \"br\" is not supported; use gzip or identity.",
  "instance": "req_01j…"
}
```

Source: https://docs.dlogify.com/errors/unsupported-encoding
