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

# Unsupported media type

> HTTP 415, unsupported-media-type. The batch request body is not JSON.

| | |
| - | - |
| Type | `https://docs.pinakelai.com/errors/unsupported-media-type` |
| Status | 415 |
| Retry | No. Send JSON. |

## When it happens

`POST /v1/trademarks/batch` was sent without `Content-Type: application/json`, for example as a form.

## What to do

Send a JSON body with `Content-Type: application/json`, such as `{"ids": ["tm_AD_2376e41e-3d24-57e3-af6f-6a176f9985ba"]}`.

## Example

```json Body theme={null}
{
  "type": "https://docs.pinakelai.com/errors/unsupported-media-type",
  "title": "Unsupported media type",
  "status": 415,
  "detail": "The request body must be application/json.",
  "request_id": "req_01M7Q40NPQRSTVWXYZ01234567"
}
```

See the [errors catalogue](https://docs.pinakelai.com/api-reference/errors.md) for every error type, and [Handling errors](https://docs.pinakelai.com/guides/errors.md) for retry strategy.


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