Rest API won’t connect with API keys
-
Hi there,
First of all, thank you for the amazing WooCommerce.
I hope you guys can help me with the following problem:
On my website https://www.usb-c-adapters.nl , i am trying to connect the software Picqer with my REST API.
However, their team told me my keys never have enough rights apparently, for example on a GET https://www.usb-c-adapters.nl/wp-json/wc/v2/webhooks – i get a error 401 “woocommerce_rest_cannot_view”
I have narrowed the problem down to this summary, for which i have used Postman:
If i use the API keys as Authenticator in Postman, i get the problem like above.
However, if i use the Basic Auth plugin , and then authenticate through ‘Basic Auth’ with my username/password instead of the created ‘API keys’, everything works just fine, including the GET described above.
The API keys do have read/write and were always created by a Super Admin.Thanks!
The topic ‘Rest API won’t connect with API keys’ is closed to new replies.