# Problem type: unsupported-media-type

**415 Unsupported Media Type.** The request body has the wrong content type.

`type`: `https://code.salaxy.com/problems/unsupported-media-type`

## When

On the [payment channel config](https://code.salaxy.com/integration/company-settings.md#payment-channel-config) endpoints (v04 beta):

- A `PATCH` with any content type other than `application/merge-patch+json`. This includes `application/json`.
- A `PUT` with a body that is not `application/json`.

## What to do

Send a `PATCH` as a JSON Merge Patch ([RFC 7396](https://www.rfc-editor.org/rfc/rfc7396)) with `Content-Type: application/merge-patch+json`. Send a `PUT` with `Content-Type: application/json`. Every `PATCH` response carries `Accept-Patch: application/merge-patch+json`.

See all [problem types](https://code.salaxy.com/problems/index.md).
