Unsupported media type

Canonical type:

https://learn.peios.org/wispist/problems/unsupported-media-type/

Status: 415 Unsupported Media Type. Browser code: unsupported_media_type.

Document create and replacement bodies require:

Content-Type: application/json

Media-type parameters such as charset=utf-8 are accepted, but another base type or a missing header is not. Set the header and send the documented {"data": {...}} envelope.

JSON that has the correct media type but invalid content uses Invalid JSON or Invalid request.

Edit this page