[ad_1]
As the title says, when i try to edit or update post, Updating failed. The response is not a valid JSON response. is returned. But in the console, it says 403 error. Tried everything that I found on the internet but nothing is working.
I have already
1. created new htaccess file
2. gone through all the permissions, it seems okay,
Update
Using the classic Editor works perfectly though.

i recently faced this problem for one of my client’s wordpress site. my client inserted some html/js code in block editor that was caused this error. Then i have moved this html/js code to snippet plugin.