DocsAPIUNSUPPORTED_MEDIA_TYPE.md
UNSUPPORTED_MEDIA_TYPE
- HTTP status
- 415
- Outcome
- user_action_required
- Details payload
{ receivedMediaType: string | null, supportedMediaTypes: string[] }
Remediation
Send the request body with Content-Type application/json
Cause
A mutating API request carried a body without the application/json media type.
Fix
Set Content-Type: application/json before resending. Media-type parameters such as charset=utf-8 are accepted.
splitch