Failed to retrieve sitemap for document when adding it to List container

Hello! I have a problem when I create a new document from the Experience manager to a list. I press the button I’ve generated using @hst.manageContent and everything works fine until I press create. The document is successfully created but I do not get redirected to the Publish tab - instead I get an error “Failed to retrieve sitemap for document[id]” and the document is still visualized in the list. In order to publish it, however, I have to press the Edit content button and then I can publish it. Does anyone have an idea what might be causing this issue? For the component class for the list I use EssentialsListComponent.

Did you manage to solve this problem? I have the exact same issue, but with the headless project