# 415 Unsupported Media Type (HTTP Status Codes)

Source: https://www.observeone.com/community/errors/http/415-unsupported-media-type

[ObserveOne](/)[Features](/#features)[Pricing](/#pricing)[Blog](/blog)[CLI](/cli)[Docs](/docs)

[Sign in](https://app.observeone.com/auth?tab=signin)[Start Free](https://app.observeone.com/auth?tab=signup)

[Error Dictionary](/community/errors)/[HTTP Status Codes](/community/errors/http)/415-unsupported-media-typelow

# 415 Unsupported Media Type

The server refuses the request because the Content-Type is not supported.

## Common Causes

- 1Missing Content-Type header
- 2Sending form data when API expects JSON
- 3Sending JSON when API expects multipart

## How to Fix

### Set correct Content-Type

// For JSON:
fetch('/api', {
 headers: { 'Content-Type': 'application/json' },
 body: JSON.stringify(data),
});

// For form data:
const form = new FormData();
fetch('/api/upload', { body: form }); // Content-Type auto-setMatch Content-Type to the actual body format.

## How ObserveOne Helps

ObserveOne validates Content-Type headers across your API endpoints.

[Start Monitoring Free](https://app.observeone.com/auth?tab=signup)

## Related Errors

[400 Bad RequestThe server cannot process the request due to malformed syntax, invalid parameters, or bad encoding.](/community/errors/http/400-bad-request)[401 UnauthorizedThe request requires authentication. The client must provide valid credentials.](/community/errors/http/401-unauthorized)[403 ForbiddenThe server understood the request but refuses to authorize it. Authentication won't help — the user lacks permissions.](/community/errors/http/403-forbidden)[404 Not FoundThe server cannot find the requested resource. The URL may be wrong, the resource may have been deleted, or the route doesn't exist.](/community/errors/http/404-not-found)[405 Method Not AllowedThe HTTP method (GET, POST, PUT, DELETE) is not supported for this endpoint.](/community/errors/http/405-method-not-allowed)

ObserveOne

Agentic QA and synthetic monitoring built for engineering teams. Plan, generate, and run suites from the web UI. Connect to CI for reliable coverage across critical journeys.

### Product

- [Features](/#features)
- [Pricing](/#pricing)
- [QA Coverage](/qa-coverage)
- [API Monitoring](/api-monitoring)
- [Free Website Check](/free-website-check)

### Developers

- [CLI](/cli)
- [Docs](/docs)
- [For Agents](/agents)
- [Self-host (oo-workers)](/workers)
- [Status Pages](/status)
- [Netlify Extension](https://app.netlify.com/extensions/mzs1lgc3-observeone)

### Resources

- [Blog](/blog)
- [Bug Book](/bug-book)
- [Guides](/community/guides)
- [Tools](/community/tools)
- [Error Dictionary](/community/errors)

### Compare

- [Tool Comparisons](/compare)
- [Tool Alternatives](/alternatives)
- [Best by Category](/best)
- [Search](/search)

© 2026 ObserveOne. All rights reserved.

[About](/about)[Privacy Policy](/privacy)[Terms of Service](/terms)[Affiliates](/affiliates)[Become an Affiliate](/affiliate-terms)
