Problem Rest Api Woocommerce – Shopmaster Issue
-
Hello, I’m facing a problem with woocommerce and Shopmaster (Tool to import products to the store). They have ben helping me and my hosting to solve the problems but the result was the same. The Customer key and the secret always appear invalid and are no able to connect.
we gather the following issues:
– woocommerce_rest_cannot_create
– Product Request Error : woocommerce_rest_cannot_create:Sorry, you are not allowed to create resources.The guys from the hosting changed the htaccess but didn’t work. Check the following info:
“Assuming from the error that you are receiving, it is possible that the issue is caused by missing authorization header but I cannot confirm that because I am unable to access the Shopmaster platform and test the error on my end. What I have done is that I added the following code to your .htaccess file:
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* – [e=HTTP_AUTHORIZATION:%1]
”I brought them my credentials from shopmaster and hours later after trying different things they told me that I could get answers with Woocommerce support.
They told me that the last log of the 401 error was this:
[25/Aug/2020:12:59:08 +0000] “GET /wp-json/wc/v2/system_status?consumer_key=ck_3441468deeb7a093d1d98e*************&consumer_secret=cs_872797bd3395087f3bb*************** HTTP/1.1” 401 118 “-” “Apache-HttpClient/4.5.1 (Java/1.8.0_261)” | TLSv1.2 | 1.954 1.970 1.970 MISS W NC:000000 UP:0
I hide some information like the keys or my page because I don’t know if I’m bringing important or private information here.
I appreciate your help.
- The topic ‘Problem Rest Api Woocommerce – Shopmaster Issue’ is closed to new replies.