Support » Plugin: Customer Reviews for WooCommerce » “Error posting data to the shop”

  • Resolved mj

    (@maxwelljacobs)


    Hello,

    I hope you are well.

    Recently we have started encountering problems with the Customers Review for WooCommerce plugin.

    >> Initially we received the below error message via email:

    “Error posting data to the shop
    Hello,

    There is an issue with posting review data to your shop. Please make sure that Customer Review plugin is updated and works correctly.

    Technical details:
    Error: Request failed with status code 401

    Best regards,
    Customer Reviews Plugin”

    >> and then when checking the plugin ‘diagnostics’ area:

    “The plugin will not be able to receive reviews because REST API is disabled. Additional information can be found in this support article. Error code: 403; Error message: Forbidden; Details:
    You have been banned from this site.
    If you think there has been a mistake, please contact the administrator via proxy server.”

    Also, the ‘Review Reminders’ column on the WooCommerce Orders page is showing blank. i.e. there is no option to send manual reminders. Just a blank column labelled ‘Review Reminders’.

    See screenshots here >> https://imgur.com/a/EJp6xLF

    Any help with this would be greatly appreciated.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi, I got the exact same email with error code 401. Don’t know what happened, maybe someone can clarify what this issue is? Thank you

    Plugin Author cusrev

    (@ivole)

    Thanks for trying our plugin!

    1. If you received the error code 401, it means that something blocks REST API in WordPress on your site. It could be a security plugin or custom code in functions.php that disables REST API.

    Please check plugins installed on your WordPress site that might potentially restrict REST API. If there is any plugin blocking REST API, you should update its configuration to allow inbound REST API calls that transmit customer reviews from the aggregated review forms to your site. Depending on the security plugin you use, there are different ways to do it. For example:

    – Completely disable blocking of REST API. It is usually the easiest solution but it will open not just REST API endpoints for our plugin but also the standard WordPress REST API endpoints and endpoints of other plugins you might have installed on your site.

    – Add IP address of review forms to a whitelist in the settings of the security plugin. If the security plugin offers an option to add specific IP addresses to the whitelist, try adding the following IP address: 18.210.171.51. It is the IP address of review forms that sends customer reviews to your store.

    – Disable blocking of REST API for the endpoint of our plugin only. If the security plugin offers an option to block and unblock specific REST API endpoints, try unblocking the following endpoint: /ivole/. It is the endpoint of our plugin that is used to receive customer reviews.

    If you don’t have any security plugins installed on your site, please also check custom code that you might have in your theme’s functions.php file. Any code that blocks REST API should be adjusted to allow either the IP address of review forms (see above) or REST API endpoint used by our plugin (also see above).

    2. Please refer to this article from our support portal about sending manual review reminders: https://help.cusrev.com/support/solutions/articles/43000072126-how-to-manually-send-review-reminders-

    mj

    (@maxwelljacobs)

    Hi CusRev,

    Thanks for getting back to me.

    So we aren’t using any security plugin. I’ve also tried disabling other plugins but the problem still persists.

    I’ve also contacted our hosting provider but they tell me that there isn’t anything on their side blocking REST API.

    We are also getting a 403 error stating that we have been banned. Does this mean our IP has been blacklisted/banned due to API abuse?

    See screenshot – https://imgur.com/HvFP4rI

    Looking forward to hearing from you.

    Kind regards,
    Max

    Plugin Author cusrev

    (@ivole)

    Thanks for providing additional information. A quick search in Google brings this page: https://wordpress.org/support/topic/you-have-been-banned-from-this-site/. The error message is exactly the same as on your screenshot. It suggests that you might actually have some security plugins. Can you please double check?

    mj

    (@maxwelljacobs)

    Hi Cusrev,

    Thank you for finding this solution!

    You are the best.

    Max

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