If you have in the configuration "sitemap_includes" that include more than one content type identifier, the sitemap won't work.
Example:
sitemap_includes:
contentTypeIdentifiers:
- file
- image
If you have only one contentTypeIdentifier the sitemap will be generated as expected.
sitemap_includes:
contentTypeIdentifiers:
- file
The problem is with the Criterion that is generated.