{"section":"known-issues","requestedLocale":"en","requestedSlug":"sitemap-isnt-being-generatedupdated","locale":"en","slug":"sitemap-isnt-being-generatedupdated","path":"docs/en/known-issues/Store Framework/sitemap-isnt-being-generatedupdated.md","branch":"main","content":"## Summary\n\n\n\nThere are three scenarios where the sitemap is not being generated/updated:\n\n\n\n1. When we have a product not found or with some kind of problem on the catalog the sitemap is not generated. You can search for the logs on OpenSearch, in this case, to check which product has a problem;\n\n\n\n2. When the account has the app `search.resolver@1.x`  the sitemap can have errors when:\n\n\n\n- A category has its first product coming from a similar category (the merch rules can have an impact on this case depending on the product you're promoting);\n- The search/brand/category page has no products, in this case, the page is not indexed on the sitemap, and its generation crashes\n\n3. Products that don't have the trade policy set on the catalog won't be received by the sitemap\n\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 crash\n\n\n##\n\n## Workaround\n\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\nObs: This workaround may not work at all times. Sometimes the store can have so many invalid products that even the `search-resolver@0.x` will not update the sitemap.\n\nBut eventually, you will need to fix the scenario that prevents the sitemap from being generated\n\nStay in mind that updating the store to resolver@0.x and generate the sitemap in a workspace is the workaround because some invalid cases don't happen in our legacy search\n\nWe released a new version of the sitemap app (`vtex.store-sitemap@2.16.1`) which solves the problems with product routes. So, this issue is fixed:\n\n> _When we have a product not found or with some kind of problem on the catalog the sitemap is not generated. You can search for the logs on OpenSearch, in this case, to check which product has a problem;_\n\n Now we divided the other sitemap problems into two other KIs, which are: https://help.vtex.com/en/known-issues/sitemap-not-generating-due-a-timeout-toomanyrequests--60BSLo3INhsKDkarla38VZ and https://help.vtex.com/en/known-issues/sitemap-does-not-index-departments-brands-andor-categories-pages--59AJOYBjpw23Ee8EXKOjUF. So we can keep track of each case separately and deal with each of them."}