Sitemap error: Missing XML tag

Are you seeing the following sitemap error?

This required tag is missing. Please add it and resubmit.

This error appears when the sitemap contains zero items. To solve this, you should create content for the sitemap. However, if you know you have made content you should clear/flush your cache from your website, plugins, theme, server et cetera.

Are you getting a different error? Check out this article on common XML sitemap errors to see more errors, their causes, and their solutions.

This commonly happens with the News SEO sitemap when a site has not published a news article within the last two days. It may also appear with the Video SEO sitemap if no videos have been made.