Main causes

  • Misconfiguration in the server's content negotiation settings where the selected variant is incorrectly set to perform further negotiations.

  • Incorrect server setup leading to a loop in variant selection, where a variant points to another negotiable resource instead of a final content.

  • Errors in the server's .htaccess or similar configuration files that improperly direct negotiation processes to negotiable variants.

  • Faulty implementation of the content negotiation protocol in the server software, causing it to select negotiable variants as endpoints.

Scrollable code block. Use arrow keys to scroll.

Try Scraper API with 5K results

Common fixes

  • Review the server configuration to ensure that the resource variants are not set to perform content negotiation themselves.

  • Check and update the content negotiation settings to avoid conflicts between resource variants.

  • Verify the server's algorithm for selecting resource variants to ensure it does not recursively negotiate.

  • Simplify the resource variant management to prevent overlap in negotiation roles and responsibilities.

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

How to Use cURL With Proxy
How to Use cURL With Proxy?
Iveta Liupševičė

Iveta Liupševičė

2024-03-18

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

Adelina Kiskyte

2024-03-15

HTTP vs. HTTPS: What Is the Difference?
Maryia Stsiopkina avatar

Maryia Stsiopkina

2021-09-17

Get the latest news from data gathering world