I try to fetch all products in bunches from the REST API in Magento 2.3.1:
GET http://example.local/rest/V1/products?searchCriteria[page_size]=100&searchCriteria[sortOrders][0][field]=updated_at&searchCriteria[sortOrders][0][direction]=ASC&searchCriteria[currentPage]=88000
Content-Type: application/json
Authorization: Bearer mybearer
I have 250 Products in the shop, still this request returns results. Shouldn't such a ridiculously high page number return an error or no results?