Skip to main content

HTML Guide

HTTP resource not retrievable. The HTTP status from the remote server was: 202.

HTTP status code 202 means the server has accepted the request but has not completed processing it, so the validator cannot retrieve the resource.

The W3C HTML Validator needs to retrieve external resources (like linked CSS or JS files, images, or even your webpage itself) and expects a successful 200 OK HTTP status code. If it gets a 202 Accepted instead, the resource is not fully available for validation, which prevents it from fetching and checking the content.

Causes:

  • Your server is responding with a 202 Accepted and processing in the background instead of serving the full content immediately.
  • You might be testing a URL that triggers background processing, a queue, or is incomplete.
  • If your resource is an API or dynamic endpoint, make sure to provide a static, direct file with a 200 OK response for validation.

How to fix:

  • Configure your server to respond with 200 OK and immediately provide the requested content for HTML documents or resources.
  • Avoid validating URLs that return 202 Accepted. Only validate URLs serving complete resources.

Learn more:

Related W3C validator issues