Step 2: Re-Enable the REST API by Resolving the Specified Error How you should go about resolving this problem and enabling the REST API again will depend somewhat on the error you see listed here. Join 20,000+ others who get our weekly newsletter with insider WordPress tips! Want to know how we increased our traffic over 1000%? This could be a “ 401 Not Authorized” response, an operation timeout, a “ 403 Cookie Nonce Is Invalid” message, or another error. The Site Health tool will also display a specific error that is producing the ‘unexpected result’. One example is the block editor screen, which relies on this to display and save your posts and pages.” The REST API is one way WordPress and other applications communicate with the server. “The REST API encountered an unexpected result. If the REST API is being blocked, you’ll see the following message: Under the Status tab, WordPress will list any existing problems with your installation. To access it, navigate to Tools > Site Health: Accessing the Site Health tool in WordPress. You can do this directly in WordPress using the Site Health tool. If you’re seeing this message, a wise place to start troubleshooting is by testing the REST API to make sure it’s working. Step 1: Determine Whether the REST API Is Being BlockedĪ common cause of the “Publishing Failed” error in WordPress (since the Block Editor was launched) is that the REST API is being blocked or disabled. Here are four steps you can take to go about fixing this problem on your site.
#Bitnami wordpress stack hanging update#
Once you understand why your WordPress content is failing to update or publish, resolving the problem becomes easier.
#Bitnami wordpress stack hanging how to#
How to Fix the WordPress Updating Failed and Publishing Failed Errors (In 4 Steps) If that is what’s causing the error on your site, you’ll need to get the REST API working again in order to fix it. When this communication is broken or disabled, the Block Editor’s publishing functionality breaks. However, in this case, there’s no need to worry.Īll you need to understand for the purposes of resolving the “Publishing Failed” error is that the REST API is how the Block Editor communicates with WordPress. If you’re a beginner or just a less-technical user, any mention of the REST API can seem intimidating. In the event that something is blocking or disabling this process on your site, you won’t be able to launch new content. The new WordPress editing interface relies on the REST API to create, save, and publish posts.
There are a few different causes of the “Publishing Failed” error, but one in particular is linked to the Block Editor. Compare Updating Failed error in the Block EditorĪs you can imagine, this problem can be an especially frustrating one for bloggers, as well as any site owner who finds themselves needing to update key information on their web pages. See how Kinsta stacks up against the competition.