Rest API was giving results but suddenly it stops giving result and giving me this error instead:
"code": "woocommerce_rest_cannot_view", "message": "Sorry, you cannot list resources.", "data": { "status": 401 }
I'm using oAuth1 with the correct key and secret. Using this version "WordPress 5.4.2" and "WooCommerce 4.4.1".