• Resolved wurzelsepp1

    (@alexprepo)


    I experience a strange behaviour when trying to create a lot of Woo products, using the REST Api:

    When I issue a command to add a product, it is created as it was requested.

    If I send the same command 10 times within a short time period, I get an error message (error 4, syntax error) even the data are the same.

    if I resend one of the commands 1 minute later, they are accepted – as long as I send only one command per minute.

    As I have to create thousands of products, I can’t implemant a waiting time after every command.

    Does someone know where the problem is?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator t-p

    (@t-p)

    I recommend asking at https://www.ads-software.com/support/plugin/woocommerce/#new-post so its developers and support community can help you with this.

    Thread Starter wurzelsepp1

    (@alexprepo)

    I found the issue. The Woo Api is working fine, even when several reuests come in. It just takes some time to answer – but fter the answer from the Api was sent, it is ready for the next request.

    The problem was caused by the client software. Due to an error between my ears, the previous query wasn’t cleared before the next was sent.

    Sorry for asking unnecessary questions… ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘REST-API Bulk operations bug?’ is closed to new replies.