supermarket
supermarket copied to clipboard
return appropriate HTTP 4xx error when API request has items larger than item limit
As discussed on #1543, API calls requesting more items than the item limit should probably receive an appropriate 4xx error with a message stating that the requested item count was invalid and what the valid range actually is. Current behavior—to return up to the item-limit number of items—leads to confusion by consumers.