415 Unsupported Media Type

The body format is not supported.

Status code
415
Reason phrase
Unsupported Media Type
Class
4xx Client errors

What does 415 Unsupported Media Type mean?

The server does not accept the body format given in Content-Type.

Common causes

How to fix it

415 and webhooks

Happens when the handler only parses JSON but the provider sends form-encoded data.

Test how your client handles 415

In the webhook tester you can add a response rule that answers 415 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 415 mean?

The body format is not supported. The server does not accept the body format given in Content-Type.

Is 415 an error?

Yes — a client error: the request must be changed before retrying.

Other 4xx codes

400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 418 I'm a teapot · 422 Unprocessable Content · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request

← 414   All status codes   418 →

About HTTP 415

The status line “HTTP/1.1 415 Unsupported Media Type” belongs to the 4xx family — client errors, meaning the request itself must change.

Retrying a 415 without changing the request usually gives the same answer; log the response body, it often names the bad field or header.

When debugging, compare the 415 with server logs at the same timestamp and check proxies or CDNs in between — they can generate a 415 before your app is reached.