• Resolved danielhojnacki25

    (@danielhojnacki25)


    EDIT 05.07.2024
    I found the problem. When I deactivate the Yoast SEO add-on, everything works fine. Do you have any idea what could be affecting the listing restriction?

    Hi!
    Recently we noticed a problem with woocommerce api. Specifically with the endpoint used to download all products (https://hdwrglobal.com/wp-json/wc/v2/products?consumer_key=asd&consumer_secret=asd&per_page=3).

    We came to the conclusion that the problem lies in the quantity. If we add the parameter “per_page=3” then I get an empty list. If we replace it with “per_page=2” – it retrieves two products correctly. In addition, pagination also works, and using the “page” parameter you can switch between pages. Unfortunately, this does not solve our problem, because the baselinker integration needs a list of all products from the API to work properly.

    Where could the problem lie? Does the server not support such large responses or is it some API default setting? Please help, I would appreciate it.
    Regards,
    Daniel

Viewing 1 replies (of 1 total)
  • Hey, @danielhojnacki25!

    I’m glad to know you were able to find the issue.

    Since the issue only happens when Yoast SEO is active, I suggest reaching out to them so they can check this and assist you further in fixing it ??

    I’ll close this thread now, okay?

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.