# Empty Sitemaps Sitemaps which return a 200 status code but don't contain any valid URLs **Priority**: Medium **Impact**: Negative ## What issues it may cause Sitemaps should contain some valid URLs so it's likely that the sitemap generation process is failing. There may be legitimate instances of empty Sitemaps, such as News Sitemaps which may be filtered on publish dates and where no recent content has been published. ## How do you fix it The sitemap generation process should be checked to understand if it has failed. The sitemaps should either be fixed, or removed so they return a 404 status. If the Sitemaps appear to contain URLs, check they are absolute URLs as relative URLs in Sitemap are not valid and they [must be fully qualified](https://developers.google.com/search/docs/crawling-indexing/sitemaps/build-sitemap#general-guidelines). ## What is the positive impact Fixing a broken an empty Sitemap so it includes the expected content will help new pages to be discovered. Removing a redundant Sitemap by returning a 404 status may improve the crawling efficiency of other Sitemaps. ## How to fetch the data for this report template You will need to run a crawl for report template to generate report. When report has been generated and you have crawl id you can fetch data for the report using the following query: ```graphql query GetReportStatForCrawl( $crawlId: ObjectID! $reportTemplateCode: String! $after: String ) { getReportStat( input: {crawlId: $crawlId, reportTemplateCode: $reportTemplateCode} ) { crawlSitemaps(after: $after, reportType: Basic) { nodes { url sitemapType httpStatusCode urlCount restrictedReason } totalCount pageInfo { endCursor hasNextPage } } } } ``` **Variables:** ```json {"crawlId":"TjAwNUNyYXdsNDAwMA","reportTemplateCode":"empty_sitemaps"} ```