Woocommerce [404] error after updating Product

Hello,

I have the following scenario…

When I import a product from my Suppliers Website into my store and let it run through, I get an error message at the end even though everything has run correctly.

When a product comes in, keywords, meta-description and short description for woocommerce are created by openai. Then the product should be updated after that. Everything works fine. All the data are added!

But after a few seconds I get this error message and the scheduling shuts down.

it think it has to do with the variations that i am importing. There are to different version of the product when i import a Product from my supplier. But when i create a product right out of woocommere by my self, everything works. There are no attribute or variations.

Here is the error message.

Scenario was deactivated by Make
Scenario has encountered an error while being processed. Fix the error or clear the queue. The reason is: [404] To change product variants /products/<product_id>/variations/<id> you can use the endpoints. (woocommerce_rest_invalid_product_id).