Skip to main content

WordPress integration

Troubleshooting

WordFence users

If you have WordFence installed, these two settings need to be turned off:

  • Disable WordPress application passwords
  • Block IPs who send POST requests with blank User-Agent and Referer

WP REST API returns 401

A 401 error indicates an authentication problem.

  • Check that you have provided the correct credentials
  • The username must be the actual username of the user connecting (not the name of the application password)
  • The application password may have been revoked or deleted - check in WordPress
  • If you have WordFence enabled, configure it appropriately (see WordFence users above)
  • If the error message contains zapier.php, it is due to the WP Zapier Plugin - see the plugin documentation for configuration

WP REST API returns 404

A 404 error indicates the REST API endpoint cannot be found.

  • Change permalink settings to "Post name" - see this Stack Overflow thread
  • If you're using Hostinger, disable the Hostinger AI and Hostinger Easy Onboarding plugins

WP REST API returns 403

A 403 error indicates access is forbidden.

Cloudflare: If the error message includes rayId or challenge, Cloudflare is blocking the request.

  • Disable bot challenge mode in Cloudflare - see these tips

JWT Authentication: If the error message includes jwt_auth_bad_auth_header, you have JWT authentication installed.

  • Remove the JWT Authentication plugin

WPEngine: If your site is running on WPEngine, this can be caused by their legacy network configuration.