415

A 415 Unsupported Media Type response indicates that the request body format isn’t supported. You sent data with a Content-Type that's different than application/json.

In this example, the request used Content-Type: application/json123, but the endpoint only supports application/json.

{
  "type": "/mtls-edge-truststore/error-types/media-type-not-supported",
  "title": "Media type not supported.",
  "status": 415,
  "detail": "Media type application/json123 is not supported. Supported media type(s) are [application/json].",
  "instance": "/mtls-edge-truststore/error-types/media-type-not-supported/8753c5e977447801",
  "contextInfo": {
    "unsupportedMediaType": "application/json123",
    "allowedMediaTypes": [
      "application/json"
    ]
  }
}