#johnw_code

1 messages ¡ Page 1 of 1 (latest)

urban echoBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1407639503073710083

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

nimble solar
#

hi there!

brazen reef
nimble solar
#

this seem to be a GET request, so make sure to enable GET here:

brazen reef
#

Just found them and the calls show:
{
"created": {
"gte":
"1751292000",
"lt":
"1753970400",
},
"limit":
"4",
"starting_after":
"cus_SdIgn0QybPbtvx"
,
}

nimble solar
#

can you share the request ID (req_xxx)?

brazen reef
#

It won't copy. I'll have to re enter by hand.

#

req oJELZ5xBb9MtEt

nimble solar
#

well you did set limit: "4" correctly. and we returned 3 customers (because only 3 matched your query).

#

so everything worked as expected. what's the issue?

brazen reef
#

My code iterates through what is returned and finds 35 results. And dumps them all to the screen.

#

Where did you see the number returned?

nimble solar
#

we can see it our our end.

#

either your are looking at the wrong code, and not setting limit: 4 there, or your code iterating though the results has some issues.

#

I recommend adding some logs on your end to debug this