{"section":"known-issues","requestedLocale":"en","requestedSlug":"sitemap-does-not-index-departments-brands-andor-categories-pages","locale":"en","slug":"sitemap-does-not-index-departments-brands-andor-categories-pages","path":"docs/en/known-issues/Store Framework/sitemap-does-not-index-departments-brands-andor-categories-pages.md","branch":"main","content":"## Summary\n\n\n\nWhen an account has the app `search.resolver@1.x`  the sitemap can have errors when:\n\n- A category has its first product coming from a similar category;\n- The brand/category/department page has no products; in this case, the page is not indexed on the sitemap, and its generation crashes\nIn both cases, the current page is not indexed in the sitemap, which usually leads to a sitemap without a brand, category, or department path.\n\n\n##\n\n## Simulation\n\n\n\nTry to generate the sitemap for an account that has one of the scenarios described above and it will generate an incomplete sitemap.\n\n\n##\n\n## Workaround\n\n\n\n- Create a new workspace\n- Install the search-resolver@0.x `(vtex install vtex.search-resolver@0.x)`\n- Generate the new sitemap\n- Now you can rollback search-resolver to 1.x (`vtex install vtex.search-resolver@1.x`)\n- Promote the created workspace to master\n\nStay in mind that updating the store to resolver@0.x and generating the sitemap in a workspace is the workaround because some invalid cases don't happen in our legacy search."}