Proxy locations

Europe

North America

South America

Asia

Africa

Oceania

See all locations

Network statusCareers

HTTP 428 Precondition Required Error - Meaning & Fix

The HTTP 428 Precondition Required status indicates a missing precondition header in your request. This typically involves headers like If-Match that help manage data consistency. Ensure all required headers are included to meet server conditions.

Main causes

  • Missing If-Match or If-Unmodified-Since header in the request.

  • Incorrect or outdated ETag in If-Match header.

  • Failure to include a required version identifier in the request headers.

  • Request headers lacking timestamp or sequence information required for conditional requests.

# Request example 
curl -X PUT https://sandbox.oxylabs.io/ -H 'Accept: text/html' -H 'Accept-Encoding: compress' -H 'User-Agent: Chrome/91.0.4472.124'

Try Scraper API with 5K results

Common fixes

  • Verify the status of the resource and ensure it is not locked by another process or user.

  • Check the server's configuration settings to ensure that access permissions and resource locks are correctly set.

  • Contact the administrator to unlock the resource if you do not have the necessary permissions.

  • Review and resolve any conflicts or dependencies that might be causing the resource to be locked.

# Response example 
HTTP/1.1 428 Precondition Required
Content-Type: text/html
Content-Length: 49

428 Precondition Required

Forget HTTP errors with Scraper API

Web scraper API

Self-Service

Public data delivery from a majority of websites

From

49

Useful resources

Get the latest news from data gathering world

I'm interested