• Resolved lise556

    (@lise556)


    I get the following error from Customer Reviews and last review not posted. I’ve gone through all settings on Wordfence non premium as well as the Customer Reviews plugin. As I’m trying to dig into the problem I went to their post about errors when posting reviews. The problem is If you received error codes 401 or 403, it means that something blocks REST API in WordPress on your site.

    The actual error code I get is below.

    {
      "error": "Error: Request failed with status code 401",
      "response": {
        "code": "cr_authentication_failed",
        "message": "No permission to post reviews",
        "data": {
          "status": 401
        }
      },
      "callbackUrl": "https://takeasmoke.com/wp-json/ivole/v1/review",
      "key": "f6b9ca8ba385e2083cea69a698017e92"
    }

    Thanks!

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @lise556, thanks for getting in touch.

    I would instinctively expect a 403 if it was a direct Wordfence block, but the error code 401 is being returned by the JSON response coming from the reviews plugin so there’s still a chance the firewall is blocking code run in the background to cause that plugin to throw the error.

    I recommend trying Learning Mode. From the Wordfence Dashboard click on Manage WAF. Then you will see Basic Firewall Options > Web Application Firewall Status. Change the option to Learning Mode. Now try to post reviews and any other actions that have thrown this error. This will help Wordfence learn that these actions are normal and it will allow them in the future. After you have finished performing the actions, switch the WAF from Learning Mode back to Enabled and Protecting. Now test to see if these actions work correctly.

    Let me know how that goes!

    Thanks,

    Peter.

Viewing 1 replies (of 1 total)
  • The topic ‘Error posting reviews to my shop’ is closed to new replies.