Main causes

  • The `Content-Type` header in the request is a format not supported by the server.

  • The `Content-Encoding` header specifies an encoding that the server is unable to process.

  • The server is unable to handle or recognize the data structure of the payload after inspecting it.

  • The request is targeting an endpoint that specifically requires a different content format than what is provided.

Scrollable code block. Use arrow keys to scroll.

Try Scraper API with 5K results

Common fixes

  • Ensure the Content-Type header in your HTTP request matches the format the server is capable of processing.

  • Verify that the payload format is supported by the server by checking the server's documentation or configuration.

  • Convert your data into a compatible format before sending it to the server.

  • Add or update the Accept header in your request to match the media types supported by the server.

Scrollable code block. Use arrow keys to scroll.

Forget HTTP errors with Scraper API

Web scraper API

Self-Service

Public data delivery from a majority of websites

From

49

Useful resources

Laptop and books on table
What are HTTP Headers: Examples and Most Common Types
Mantas Miksenas avatar

Mantas Miksenas

2024-07-10

Crawl a Website visual
15 Tips on How to Crawl a Website Without Getting Blocked
adelina avatar

Adelina Kiskyte

2024-03-15

How to Send GET Requests With cURL
How to Send GET Requests With cURL
Iveta Liupševičė

Iveta Liupševičė

2023-06-09

Get the latest news from data gathering world