#gaz_code
1 messages ยท Page 1 of 1 (latest)
๐ 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/1329779906564980781
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
hi there!
can you share the request ID (req_xxx) that is failing? you can find it here https://dashboard.stripe.com/test/logs
req_kWTLUtbSoJ7et5
its hard to tell because i have also been using it on my phone
there is one error
req_ecqpnasyCzRRdi
about urrency interesting
I'm looking for the error you mentioned in your first message.
This fails for my client who is in Canada (S24),
what's the request ID for this?
req_ecqpnasyCzRRdi
Again, that request/error is not related to the API request you originally mentioned. I'd guess it's this: https://dashboard.stripe.com/logs/req_OPEEmLEJo4B1cf
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Hmm but what string do u need to specify for location?
But without an actual error it's hard for us to debug
https://docs.stripe.com/api/terminal/readers/create#create_terminal_reader-location
Would be a tml_xxx ID of a Location registered on the account: https://docs.stripe.com/terminal/fleet/locations-and-zones
Tried what? What's the exact code they're calling that errors?
Terminal.getInstance().listLocations(
ListLocationsParameters.Builder().apply {
limit = 100
}.build(),
locationCallback
)
i get onSuccess in locationCallback
he gets onfailed
but the logs arent showing on that link
oh they are now but no errors
i dont know what the tml_ thing is
not seen that
That would imply that they're using a different API key (from a different account)
hmm we are running the same app though
Have you/they actually tried catching the error thrown in the failure handler?
argh hes had to go so i cant get it, was something about execution error getting token
What is your Stripe account ID?
like my email that i used?
No, acct_xxx ID
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Sounds like an error thrown separate to that command you shared, and that the app isn't generating a connection token. Like this: https://dashboard.stripe.com/logs/req_oRapf9se9qAPJ5
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
my account is uk registered
Really we need some details of the actual error thrown. No idea where to look right now as there are no failing requests to that endpoint on your account
Here's a successful request as an example: https://dashboard.stripe.com/test/logs/req_FJY52i4fqhr8XO
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
yeh im utterly confused
Well your friend needs to debug their code and catch the error thrown in the code, and we can go from there
Without that it's impossible to help
yeh he isnt a coder unfortunately so im having to do remote control etc
all he is doing is restarting the app when i ask him to
i wonder if i could simulate it using a vpn and pretend im in canada
I doubt it's location related
what else could it be?
I don't know, but not sure how the geo IP would affect that API method. As I said, you/they need to log the actual error that is thrown and we can go from there
Right now it's just guess work
yeh
difficult
i really need to be able to recreate his situation
seems like it just stop executing somehow around return result.body()!!.secret in apiclient.kt
OK, but there should be an exception thrown that you can log, no?
yeh there should be
wish id screenshoted it
pretty sure it did show something in the catch
guess i will need to wait until tomorrrow now
cant really work out whats happening, would be fine if i had the phone in my hands
pretty sure it just fails on locationCallback as i first said
but i dont know exact error
Right, but as I said there are no failed requests in our logs for that API method for your account. Which would imply that listLocations is not failing, but somewhere earlier in the stack is
ah yes
I recommend just catching the actual exception and coming back when you have that
yep, thanks a lot for all the help
hopefully you are around tomorrow
ill try get a better exception, i will reocrd a video of his logcat lol
We won't be around tomorrow โ weekend. Will be open Monday! OR you can write in for async support
ah ok
monday then
yeh not location i dont think using vpn now still works fine
probbably missed some exception because i need ot filter logcat
just so much stuff rushing past
Hopefully we can get to the bottom of this next week for you
Yeh! would be awesome