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
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/deleted, please check in WP
If the error message contains
zapier.php
then it is due to the WP Zapier Plugin, see:
WP REST API returns 404
One solution was to change permalink settings to "post name", see
WP REST API returns 403
If the error message includes the words
rayId
orchallenge
then it is due to CloudflareSolution: Disable bot challenge mode in Cloudflare (see here for some tips)
If the error message includes the words
jwt_auth_bad_auth_header
then it is due to having JWT authentication installedSolution: Remove JWT Authentication plugin
If your site is running on WPEngine, this can be caused by their legacy network configuration
Solution: Reach out to WPEngine support and ask them to resolve (see here for some info)
Last updated