May I ask does it mean, when you temporary
Pause cloudflare for your site, the error still persists and is shown or rather error is gone?
Second screenshot offers some great ideas to check, also what to look up for when troubleshooting.
What have you done so far if I may ask?
May I ask is your Wordpress website / domain using a Cloudflare Pro plan and Managed WAF Rules?
What else is shown in the Developer Console of your Web browser (F12 on Chrome/Firefox), if so?
Are you hosting on your own or rather using some integrated partner like WordPress.com, WP Engine, etc.?
Furthermore, as it says the REST API is being disabled obviously.
Are there any plugins running which potentially disabled it, like security plugins (mentioned Wordfence?), or some other?
Do you see any blocked requests in the Firewall Events of the Cloudflare dashboard for your domain name?
Have you got some custom-made Firewall Rules active?
Have you got
Bot Fight Mode option being enabled in the Cloudflare Dashboard?