WooCommerce - Search for an order - The operation failed with an error. 'getOrderRefunds'

Hi, i’m getting a strange error since december '24 regarding my WooCommerce “Search for an Order”-module. This is the startingpoint for a scenario that has worked flawless a couple of years now.

The scenario (when triggered manually) generates this error:

“The operation failed with an error. Function ‘getOrderRefunds’ finished with error! (lines || []).map is not a function”

But, once in 5 or 6 triggers: the scenario works en runs likes it supposed to! I’ve tried multiple things to get it to work every time:

  • Created a new WooCommerce-connection in Make (new REST-API key/secret).

  • Disabled Wordfence Firewall: no change. Also whitelisted all Make’s IP’s.

  • Disable caching (Litespeed) and whitelisted REST-API endpoint (/wc/v2/orders).

Both options (disabled or not) do not change the behavior of the scenario.

If the scenario runs (once in 5/6 triggers), i’m getting a perfect request in my REST API-log.

So i’m suspecting a change in de Make-code / WooCommerce-module. Anybody any idea’s? Thanks!



The Make-Chrome Extension shows this error:

{
    "type": "error",
    "array": "Function 'getOrderRefunds' finished with error! (lines || []).map is not a function",
    "_engineData": {
        "calledAt": "Not available"
    }
}