#gergelypennylane
1 messages ยท Page 1 of 1 (latest)
I get this error pretty consistently
even if you reduce the limit (number of requested invoices)?
so is this coming from the invoice listing request? (sorry, the implementation fetches invoices, customers, transactions and credit_notes for an specific account and I couldn't find out which one is causing this issue), so you suggest to reduce the number of items per request? is it currently 100?
yes this is what I'm suggesting and you can use auto-pagination https://stripe.com/docs/api/pagination/auto if you want to go through all of the invoices
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes, I'm actually using auto-pagination
can you please elaborate on the actual issue? so what does this big page size cause, that results in 500?
I'm not sure to be honest, but AFAIK when you try to request really large objects (invoices in this case) this might happen
alright, thank you for the help, I try to decrease the page size and let's see what happens
yes sure