WooCommerce REST API Error 401
-
Hi,
I want to enable an API connection and I am currently testing it via Postman. My server is running on apache with nginx as reverse-proxy.
Woocommerce is returning:
{
“code”: “woocommerce_rest_cannot_view”,
“message”: “Entschuldigung, es k?nnen keine Ressourcen aufgelistet werden.”,
“data”: {
“status”: 401
}
}On other servers (without nginx as reverse-proxy) i add
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
to my .htaccess and it is working in most cases.I now added this code to my .htaccess and the 401 error is still returned.
Any idea how to make it work?
PLEASE NOTE THAT MY CONSUMER KEY AND CONSUMER SECRET IS 100% CORRECT
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WooCommerce REST API Error 401’ is closed to new replies.