#kma-traser_api

1 messages · Page 1 of 1 (latest)

carmine domeBOT
#

👋 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/1220669960423215164

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

cosmic sundialBOT
pine fractal
#

hi

thorny glade
#

Hi, let me help you with this.

pine fractal
thorny glade
#

Do you have an example Request ID that succeeded?

pine fractal
#

req_jfgTx8NvrZVl7e

#

this one looks like one where a specific customer was seachred

thorny glade
#

Do you have a successuful GET /v1/customers/search request?

pine fractal
#

i cant find one atm. we infrequently check the customers because they rarely change anything

#

can you still check how else that search query would have to look ?

thorny glade
pine fractal
#

we are sending them without an sdk as naked http calls. just requesting the customers works fine. but trying to filter does not

thorny glade
#

But those are 2 different methods, one is retrieving an individual Customer by ID, and another allows you to search for multiple Customers by various fields. Which one are you looking to use exactly?

pine fractal
#

well we were using both. the filtered one first and if that doesnt return a customer, then the second one as a fallback

#

when i try
'https://api.stripe.com/v1/customers/6190165'
via postman or locally on vscode with the rest extension i get the following error:
The connection was rejected. Either the requested service isn’t running on the requested server/port, the proxy settings in vscode are misconfigured, or a firewall is blocking requests. Details: RequestError: connect ECONNREFUSED 127.0.0.1:443.

thorny glade
pine fractal
#

can you take a look at
req_y4uqVw1ZmCUrH3

thorny glade
#

Could you try adding Content-Type: "application/x-www-form-urlencoded" header?

pine fractal
#

that is already in

thorny glade
#

Sorry, it seems like it works if you don't provide the header. Could you try removing it?

cosmic sundialBOT