Error when attempting to download from WooCommerce: “Sorry, you cannot list resources” ?

If you are getting an error like this when attempting to download from WooCommerce:

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

and you have entered the correct HTTPS URL, Consumer Key and Consumer Secret you can try disabling the option to use HTTP Basic Auth in the Setup screen:

Occasionally some servers may not parse the Authorization header correctly so try disabling this option and trying again – this switches to providing the consumer key/secret as query string parameters instead.

If you’re still having problems making requests to the WooCommerce API this article has some good suggestions for resolving common WooCommerce REST API issues. For some customers we have had to specify the UserAgent as part of each request to work around issues with some WordPress security plugins.

Still need help? Contact Us Contact Us