Skip to main content

request_content_type_mismatch

HTTP Status: 415 Category: Wire

When you see this

Content-Type header does not match what the endpoint accepts.

How to fix it

Send Content-Type: application/json for body endpoints. Multipart endpoints document the type in OpenAPI.

Example response

{
"error": {
"code": "request_content_type_mismatch",
"message": "Content-Type header does not match what the endpoint accepts.",
"hint": null,
"doc_url": "https://docs.valara.cloud/api-reference/errors/request_content_type_mismatch",
"request_id": "req_01H...",
"details": {
"errors": [],
"field_count": 0
}
}
}