r/TechSEO • u/Gianfan • 14d ago
GSC reports "Couldn't fetch" for all XML sitemaps despite HTTP 200 and successful Live URL Inspection
I've been dealing with this for almost 2 months now. My site is hosted on Firebase (web.app), and GSC keeps showing "Couldn't fetch" for all my sitemaps. Only the homepage is indexed out of 248 URLs. I've checked everything I can think of: XML is valid, all URLs return 200, robots.txt allows Googlebot, and live URL inspection says the fetch is successful. I've tried different sitemap formats, resubmitted multiple times, and run an SEO audit, but nothing has worked. Even manual indexing says "Quota exceeded" on my first attempt. Has anyone experienced this with Firebase Hosting or found a fix? I'm completely out of ideas.
2
u/alvares169 13d ago
Googling your post title instead of writing it here usually gives you the solution on the first page
https://support.google.com/webmasters/thread/184533703/are-you-seeing-couldn-t-fetch-reported-for-your-sitemap
2
u/Emtyspaces 13d ago
Two things I'd check that are specific to Firebase setups.
If firebase.json has the usual single page app rewrite (source "**" to /index.html), any path that isn't a real deployed file gets index.html back with a 200. So if the sitemap isn't actually in the deployed public folder, its URL returns your app's HTML, which passes any check that only looks at the status code. Run curl -I on the sitemap URL and make sure the Content-Type is XML and not text/html.
The bigger one for "only the homepage indexed" is the canonical. If the site renders in the browser and index.html has a hardcoded canonical pointing at the homepage, every URL tells Google it's a copy of the homepage. Open an inner page in URL Inspection, compare the user-declared and Google-selected canonical, and look at the rendered HTML from the live test to see whether that page's own title and content are really there. If every page comes back as the same shell, pre-rendering those routes usually fixes it.
I wouldn't read too much into "Couldn't fetch" by itself, since Search Console also shows it for sitemaps it hasn't processed yet. The reasons listed in the Pages report for the 247 missing URLs will tell you more.
1
u/Wild3v 13d ago
Whats the domain?