Open
Description
Describe the bug
When you try to retrieve a list of products via the products.list()
function, and you add an ids
parameter whose array size is larger than the default limit
value (10), Stripe will throw an StripeInvalidRequestError
. The message and param of the error is the following:
message: 'You may only specify one of these parameters: ids, starting_after.',
param: 'ids',
To Reproduce
- Fetch list of products and add an array of ids larger than 10 elements
Expected behavior
The length of the array of ids shouldn't be constrained by the limit parameter
Code snippets
No response
OS
macOS
Node version
v16.13.2
Library version
stripe v9.6.0
API version
2020-08-27
Additional context
No response