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

# unsupported-media-type

> The body must be application/json.

**Status 415.** The body must be application/json.

The response is `application/problem+json`, and its `type` is
`https://docs.andteam.com/api/problems/unsupported-media-type`:

```json theme={null}
{
  "type": "https://docs.andteam.com/api/problems/unsupported-media-type",
  "title": "The body must be application/json",
  "status": 415
}
```

## What it means

The body was not JSON (a PATCH takes `application/merge-patch+json` or `application/json`).

## What to do

Send a JSON body with the right `Content-Type`.

See [Errors](https://docs.andteam.com/errors.md) for every type.


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