Skip to content

UnsupportedMediaType

View Markdown

HTTP status: 415 · Retryable: no

The request body’s Content-Type is not accepted; strategic merge patch is not supported.

content type {contentType} is not supported{hint}

send application/json, application/merge-patch+json, application/json-patch+json or application/apply-patch+yaml

The response is a Kubernetes Status with reason: UnsupportedMediaType and code: 415, plus fix, docs (this page) and requestId. details.causes lists the fields involved, when there are any. The CLI prints the fix and the request id; the Python SDK raises nodus.errors.UnsupportedMediaType.