What is your goal?
“Get the order details” after the trigger of a new order coming in.
Woocommerce "New event’ module return an order ID (here 6193)
What is the problem & what have you tried?
It worked fine for 2 weeks, and out of nowhere it starts returning no output in the second bundle, which keeps going in my flow, but create errors later on because, for example “customer name” is empty.
The order does exist in my backoffice, I didn’t changed anything on the scenario prior to the error.
And the issue even extend to past order, I cannot get the details of previous order anymore.
The connection seems fine as I got the trigger working
Screenshots (scenario flow, module settings, errors)
Hello @InfiniThib
Since it worked fine before and suddenly stopped, the most likely cause is an expired or revoked WooCommerce API key. Go to your WooCommerce settings, regenerate the API key and reconnect the credentials in Make. Also worth checking that the consumer key still has Read permissions. If the credentials are fine, check whether the order ID being passed from the trigger is actually a number and not empty… sometimes the trigger bundle changes structure after a WooCommerce update.
I checked and the actual API Key have write & read option.
I generated another API key but still, the issue is the same, no output in the make.com window:
On this above screenshot, you can see a “run this module only” test, and I typed by hand the orderID myself, so impossible to have a change in structure saddly.
Ohhh… since manually entering the ID also returns nothing, the issue is likely on the WooCommerce REST API side rather than Make. Try opening this URL directly in your browser: yourdomain.com/wp-json/wc/v3/orders/6193 (replacing with your domain and order ID). If it returns data, the problem is in the Make connection. If it returns nothing or an error, the REST API on your WordPress site may be blocked or disabled, a security plugin like Wordfence can sometimes block these requests.
After couple days of tries and back & forth, we found that the error came on Woocommerce’s/Wordpress interface’s end and not Make at all.
Thanks for quick answer and help @wisdomdavid !