Viewing 15 replies - 1 through 15 (of 36 total)
  • Plugin Author Frank

    (@frankspress)

    Your WordPress rest API access is being blocked, presumably by a security plugin you have installed, and the request is forbidden. This doesn’t happen when you, on an user ( based on permissions they have ) because they are “allowed” access.

    Double check which security plugin you have, there might be an option on rest API

    Thread Starter Eduardo

    (@eduardoluism)

    Hi Frank,

    I don’t have any security plugins installed.

    WooCommerce:4.3.1
    WooCommerce REST API:1.0.10
    WordPress:5.4.2

    Plugin Author Frank

    (@frankspress)

    Since you can check the header, check at the bottom
    x-wp-nonce: edc5805182

    Is the nonce empty?

    Thread Starter Eduardo

    (@eduardoluism)

    it’s not empty.

    x-wp-nonce: f0755c50dc

    Plugin Author Frank

    (@frankspress)

    Ok that’s not the issue.
    Try opening an in private window and from there see if it works.
    Let me know, thanks.

    Thread Starter Eduardo

    (@eduardoluism)

    I tried that.
    and, disable browser cache, disable w3 total cache.

    Thread Starter Eduardo

    (@eduardoluism)

    “Cancel?” for logged in users, doesn’t work either

    Request URL: https://xxxxxxxxx/wp-json/in-stock-mailer/v1/product/remove/698
    Request Method: DELETE
    Status Code: 404

    Plugin Author Frank

    (@frankspress)

    Are you sure the status code is 404 and not 403 ???
    Can you also try from another device, a mobile phone for instance ?

    Thread Starter Eduardo

    (@eduardoluism)

    Yes, both.

    I also tried from MS Edge browser (the new one). Same error.

    Plugin Author Frank

    (@frankspress)

    Did it stop working all of a sudden or it never worked ?

    Thread Starter Eduardo

    (@eduardoluism)

    It never worked. I just installed and started doing some tests (as I usually do).

    The request URL is correct? If I change to …wp-json/wp/v2/product…. status 200

    Plugin Author Frank

    (@frankspress)

    wp-json/in-stock-mailer/v1/product/.. is the actual API link, what you are mentioning is not part of the plugin because the link has a different scope.

    Send a test email, the go to “Sent Alerts” and delete it from the list, refresh the page see if it is gone. That is a similar API request, let me know if that doesn’t work either.

    Thread Starter Eduardo

    (@eduardoluism)

    Hi there,

    It Work. “pending alerts” DELETE. gone…

    Thread Starter Eduardo

    (@eduardoluism)

    any help will be appreciated.
    thanks.

    Plugin Author Frank

    (@frankspress)

    Hi, I’ll be looking into it tomorrow I’m still out of town. Will be releasing an update with the upcoming WordPress installation within days.

Viewing 15 replies - 1 through 15 (of 36 total)
  • The topic ‘user not logged in’ is closed to new replies.