HTML Guide
HTTP status code 502 means the validator could not reach your resource because of a “Bad Gateway” error.
This error occurs outside of your HTML code—it indicates a problem with the communication between servers, not with the markup. The validator cannot retrieve your HTML page because your site, web host, or proxy between the validator and your server returned a 502 response, possibly due to server overload, misconfiguration, or a temporary networking issue.
To address this:
- Ensure your website is online and publicly accessible.
- Check your server or hosting provider for outages or firewall/redirect settings.
- Confirm there are no restrictions (like IP blocking or authentication requirements) preventing external access.
- Wait for temporary outages to resolve, or contact your hosting support if the error persists.
Learn more: