500 err and 404 err on live site.

hello. Fetch and other buttons on the current site do not work. It works fine on the preview site, but doesn’t work on the live site.

symptoms seem similar to this post.

Devtool prints also 500 err and 404 err.

Post your code please