Updating Woocmmerce products


We are automating our woocommerce store and would like to update the stock level of the products with the help of a a csv file that is stored in our OneDrive.
To do so, we watch the OneDrive folder for an updated stock-level-file, download the updated file, parse the csv from the file and batch update woocommerce products.

The input seems correct, but the output gives an error:
code: woocommerce_rest_product_invalid_id
message: invalid ID

To test, we have added a woocommerce get product module to update the products with the data from woocommerce itself but we get the same error.

Anyone has an idea how to solve this issue?

Thank you in advance.

We are having the same problem :thinking: