• Resolved christiantalkabot

    (@christiantalkabot)


    Hello,

    I need some help with search product endpoint. I have succeed in generating authentication needed, and succeed in getting products using one word only, but failed to get products using two or more words query.

    This is working,
    /products?oauth_consumer_key=xxx&oauth_nonce=xxx&oauth_signature=xxx&oauth_signature_method=HMAC-SHA256&oauth_timestamp=xxx&page=1&search=something

    But this one is not working,
    /products?oauth_consumer_key=xxx&oauth_nonce=xxx&oauth_signature=xxx&oauth_signature_method=HMAC-SHA256&oauth_timestamp=xxx&page=1&search=something+else

    I have checked how I generate signature key and it seems fine (I can get products using one word query everytime). I have the “something else” in my product list and can search it using search bar inside Woocommerce dashboard, but I get 401 status using the link.

    {“code”:”woocommerce_rest_authentication_error”,”message”:”Invalid signature – provided signature does not match.”,”data”:{“status”:401}}

    Any insight will be helpful. Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Product search with 2 or more words’ is closed to new replies.