Navigation überspringen

[Gelöst] Rest API error reported by WP

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
The REST API is one way that WordPress and other applications communicate with the server. For example, the block editor screen relies on the REST API to display and save your posts and pages.

Solution:
I checked that the customer's site has Cloudfare CDN on.

I found a similar case where the culprit of this issue was Cloudfare firewall blocking wp-json/wp/v2 requests.

Please check: https://toolset.com/forums/topic/updating-failed-the-response-is-not-a-valid-json-response-3/#post-2159331

I asked the customer to try to exclude wp-admin features from the firewall rules by following the instructions available here: https://developers.cloudflare.com/support/third-party-software/content-management-system-cms/improving-web-security-for-content-management-systems-like-wordpress/

Relevant Documentation:
https://developers.cloudflare.com/support/third-party-software/content-management-system-cms/improving-web-security-for-content-management-systems-like-wordpress/

This support ticket is created vor 2 years, 4 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Zeitzone des Unterstützers: America/Sao_Paulo (GMT-03:00)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Mateus Getulio vor 2 years, 4 months.

Assistiert von: Mateus Getulio.

Author
Artikel
#2678120
#2678177

Mateus Getulio
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Sao_Paulo (GMT-03:00)

Hello there,

I can see your site has Cloudfare CDN on.

I found a similar case where the culprit of this issue was Cloudfare firewall blocking wp-json/wp/v2 requests.

Please check: https://toolset.com/forums/topic/updating-failed-the-response-is-not-a-valid-json-response-3/#post-2159331

Can you please try to exclude wp-admin features from the firewall rules by following the instructions available here: versteckter Link

Please see if the issue ceases after that.

Thank you
Mateus