This error appears when your sitemap returns a 200 status code but its content can't be processed correctly. Here's what causes it and how to fix it.
Without a functional sitemap, Google depends on organic crawling to discover your content. Pages that aren't discovered in time can't rank, which can directly affect the site's organic traffic.
A sitemap with syntax errors is ignored entirely. Google can't extract any URLs from the file, which means all the pages declared in it depend on internal linking to be discovered and crawled.
A sitemap that returns invalid content reflects flaws in the site's technical configuration. For Google, it's a signal that maintenance isn't being managed carefully, which can affect the trust it places in the site.
If this error showed up in your audit, here are the steps to leave it behind.
Although Ruk Audit has already indicated that the sitemap has syntax errors, open your sitemap URL — usually yourdomain.com/sitemap.xml — and check whether the browser shows structured XML or an HTML page to determine where the source of the problem lies.
If the browser returns HTML instead of XML, the server isn't correctly configured. Contact your hosting provider to make sure the sitemap is served with Content-Type "application/xml" or "text/xml" and without any HTML wrapper.
If the content is XML but has errors, edit the sitemap correcting each detected problem. Pay special attention to special characters, improperly closed tags, or spaces that aren't permitted.
Once the file is corrected, submit it from Google Search Console's sitemaps report to confirm it's being processed correctly and that no pending errors remain.
Audit your website for free and discover if this and other SEO errors are affecting your ranking.
We use them to make the site work properly, understand how you use it and improve our marketing. You can accept, reject or configure them. More information in our cookie policy.