You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
You might try changing the user agent something like this wcapi = API( url="your site", consumer_key="consumer_key", consumer_secret="consumer_secret", version="wc/v3", user_agent="Mozilla/5.0", )
This might help.
I have a test site located at a certain page "example.com/testsite".
But when trying to use the API I can only get an 'woocommerce_rest_cannot_view' 401 error.
Even disabling all security or using the legacy api doesn't yield success.
Is what I'm doing possible or should I give up?
The text was updated successfully, but these errors were encountered: