Failed API request
# 🤝help
h
Hey, I'm trying to fetch some data from Woocommerce API, but I received an error. I want to get some information, for one of our customers from woocommerce, but currently it’s not possible. Maybe my request is wrong or it's because woocommerce package is not integrated in the studio https://www.npmjs.com/package/woocommerce-api. Can you help me with that? In the attached screenshots, I just changed the customer domain and credentials with "example" word. Thanks in advance!

https://cdn.discordapp.com/attachments/1136210128442511400/1136210128618668052/image.png

https://cdn.discordapp.com/attachments/1136210128442511400/1136210128987758612/image.png

https://cdn.discordapp.com/attachments/1136210128442511400/1136210129243623445/image.png

a
Hey @high-address-22342, have you tested the API call in a program like Postman to verify that it works?
h
Hey, yes...but with OAuth 1.0 and it's working properly 🤔
maybe this is not the correct way to reproduce it with axios 🤔
that's why I wrote also in feature-requests, if it's possible to add woocommerce package https://discord.com/channels/1108396290624213082/1135613357148340336
but @acceptable-kangaroo-64719 if you have another solutioon it will be amazing
a
It might be the different auth strategy. I'd double check the woo commerce docs, or maybe ChatGPT can easily convert your Oauth call to a header auth version
h
yep, if you find the solution I would appreciate that
@acceptable-kangaroo-64719 do you have any updates?
a
What do you mean? Have you verified that your non-Oauth API call works?
h
Unfortunately, no...
is there any possibility to import the woocom package in the studio as a feature request 🤔
a
I saw you already posted it to #1111026806254993459. The other option would be writing a custom integration, as that's the only way to add outside libraries to bots
h
okay, I see
2 Views