Fixed
Requests with a non-JSON body now return 415 Unsupported Media Type
October 8th, 2026
Requests with a non-JSON body now return 415 Unsupported Media Type
POST, PUT, and PATCH requests whose body is sent with a Content-Type other
than application/json (for example text/plain, application/xml, or
application/x-www-form-urlencoded) now receive a 415 Unsupported Media Type
error response. Previously these requests were not rejected up front and failed
with an endpoint-dependent error such as 422 or 500.
Requests that already send Content-Type: application/json are unaffected.
Requests without a body (for example GET and DELETE) are accepted regardless of
the Content-Type header.
