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

# unsupported-media-type

> The request body isn't sent as JSON.

| Status | Title |
| - | - |
| `415` | Send the body as JSON |

## What it means

An endpoint that takes a body reads only JSON, and the request didn't say `Content-Type: application/json`.

## What to do

Send the body as JSON with `Content-Type: application/json`.

## Example

```json theme={null}
{
  "type": "https://developer.plugchoice.com/api/errors/unsupported-media-type",
  "title": "Send the body as JSON",
  "status": 415,
  "code": "unsupported-media-type",
  "detail": "The body must be sent with Content-Type: application/json."
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.