• Resolved tarig

    (@tarig)


    Hi,

    I am trying to link mobile apps to Woocommerce store using Woocommerce API, but i keep getting 401 and 403 if i tried to get the products and categories after user login, without user login i can get the products with no issues.

    “code”: “woocommerce_rest_cannot_view”,
    “message”: “Sorry, you cannot list resources.”,
    “data”: {
    “status”: 401

    I am using WP OAuth Server (Pro) for authentication.

    I have noticed that when i try to get the products using a customer account, i get 401 and 403 response. But when i try to get them using Administrator or Manager account, the procuts can be get with no issues.

    How can i sort out this issue please?

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

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce API Forbidden’ is closed to new replies.