WooCommerce API wc-api – 403 error

Home Forums BulletProof Security Free WooCommerce API wc-api – 403 error

This topic contains 1 reply, has 2 voices, and was last updated by  AITpro Admin 1 year, 11 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29620

    Hugo Gerritsen
    Participant

    Hi,

    When I’m trying to call and write to the REST API of WooCommerce I get an error. I’m sure it’s caused by BPS since I’ve shut down the security and then it worked properly. How can I whitelist the /wc-api/v3/?

    Here’s what the Security Log shows:

    [403 GET Request: 27 mei 2016 - 13:11]
    Event Code: BFHS - Blocked/Forbidden Hacker or Spammer
    Solution: N/A - Hacker/Spammer Blocked/Forbidden
    REMOTE_ADDR: 77.162.69.161
    Host Name: ip4da245a1.direct-adsl.nl
    SERVER_PROTOCOL: HTTP/1.1
    HTTP_CLIENT_IP:
    HTTP_FORWARDED:
    HTTP_X_FORWARDED_FOR:
    HTTP_X_CLUSTER_CLIENT_IP:
    REQUEST_METHOD: GET
    HTTP_REFERER:
    REQUEST_URI: /wc-api/v3/orders/3472?consumer_secret=cs_8ab11f8f95f9cb641c815cd480d71dca19579046&consumer_key=ck_49f1362bab0c7f6ecbe4c4c9163dd1ab8e67834b&order=%7B%27status%27%3A+%27completed%27%7D
    QUERY_STRING:
    HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36

    Kind regards,

    Hugo Gerritsen

    #29627

    AITpro Admin
    Keymaster

    Use the Whitelist the WooCommerce shop, cart, checkout & wishlist URI’s. Whitelist the WooCommerce “order” & “wc-ajax=get_refreshed_fragments” Query Strings solution here:  http://forum.ait-pro.com/forums/topic/woocommerce-read-me-first/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.