Google Search Console is showing the following error:
Sitemap can be read, but has errors
Unsupported file format
I tried validating the sitemap here, and it shows me the following error:
Incorrect http header content-type: "text/html" (expected: "application/xml")
But don't understand how to fix it? My sitemap is an xml file.