Elementor shows 404 error when trying to edit a publish CPT post and not with draft CPT post

I have created a CPT that I want to edit with Elementor. Now when I try to edit a draft CPT post with Elementor it works fine but when I try to edit that same post after publishing it, Elementor gives a 404 error.

Thanks for any help.

Topic 404-error publish draft custom-post-types Wordpress

Category Web

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.