Blocked HTTP requests – 401 error

Home Forums BulletProof Security Free Blocked HTTP requests – 401 error

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #38446

    Hello, I am trying to get a plugin to communicate using the WordPress REST API with and endpoint (see below) but keep getting a 401 authorization error. The plugin developer said this is probably due to my hosting provider or BulletProof Security blocking HTTP requests. I have checked with my hosting provider and they said that everything looks ok on their end. I have also removed all custom codes from BPS, disabled the plugin, and manually removed all code from the .htaccess file but still receive the 401 error. Is there another way that BPS could be affecting this?

    Endpoints I have tried:

    https:///wp-json/wc/v1    *Not blocked, returns data ok*

    https:///wp-json/wc/v1/orders    *401 error*

    https:///wp-json/wc/v1/orders/shipment-trackings     *401 error, this is the endpoint I need to use ultimately that corresponds with my other plugin*

    AITpro Admin

    BPS htaccess code displays and logs 403 Forbidden HTTP Status Codes and not the 401 Unauthorized Status Code.  If you have done BPS Troubleshooting steps #1 and #2 and the problem is still occurring then you have completely eliminated that the BPS Root and wp-admin htaccess code/files are causing the 401 error.  Only the Root and wp-admin htaccess files could possibly cause a 401 error.  Check your server logs for clues.  ModSecurity could be causing the 401 errors or some other security protection feature in your web host control panel or host server or maybe even another plugin that you have installed.


    Ok thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.