unsupported_media_type
415 Unsupported media type. The Content-Type of the request body is not accepted.
On this page
HTTP 415Do not retry unchanged
Operations that can return this code: find_subscriber_by_email, upsert_subscriber, update_subscriber, add_subscriber_tags, add_subscriber_to_lists, bulk_upsert_subscribers, bulk_update_subscribers, create_subscriber_export, create_import, add_suppression, estimate_audience, create_list and 10 more.
HTTP status: 415 Retryable: no
Unsupported media type. The Content-Type of the request body is not accepted.
How to fix it#
Send the body as JSON with the header Content-Type: application/json.
Response shape#
The body is application/problem+json (RFC 9457) with type, title, status, detail, code, request_id, retryable, fix, docs_url, and when relevant retry_after_seconds, errors and next_actions.