Problem with product listing with Woocommerce API

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

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer