#gaz_code

1 messages ยท Page 1 of 1 (latest)

primal whaleBOT
#

๐Ÿ‘‹ 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.

drowsy rover
#

hi there!

ornate canyon
#

req_kWTLUtbSoJ7et5

drowsy rover
#

that request was successful

#

I need the failed request ID

ornate canyon
#

its hard to tell because i have also been using it on my phone

#

there is one error

#

req_ecqpnasyCzRRdi

#

about urrency interesting

primal whaleBOT
drowsy rover
#

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?

ornate canyon
#

req_ecqpnasyCzRRdi

silk tapir
ornate canyon
#

Hmm but what string do u need to specify for location?

silk tapir
#

But without an actual error it's hard for us to debug

silk tapir
# ornate canyon Hmm but what string do u need to specify for location?

Group and manage your readers by physical location.

ornate canyon
#

hmm are the logs instant

#

he just tried but its not there

silk tapir
#

Tried what? What's the exact code they're calling that errors?

ornate canyon
#

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

silk tapir
#

That would imply that they're using a different API key (from a different account)

ornate canyon
#

hmm we are running the same app though

silk tapir
#

Have you/they actually tried catching the error thrown in the failure handler?

ornate canyon
#

argh hes had to go so i cant get it, was something about execution error getting token

silk tapir
#

What is your Stripe account ID?

ornate canyon
#

like my email that i used?

silk tapir
#

No, acct_xxx ID

ornate canyon
#

acct_1IJyb5FELnlOXOw9

#

im assuming his location is somehow relevant,

silk tapir
ornate canyon
#

my account is uk registered

silk tapir
ornate canyon
#

yeh im utterly confused

silk tapir
#

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

ornate canyon
#

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

silk tapir
#

I doubt it's location related

ornate canyon
#

what else could it be?

silk tapir
#

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

ornate canyon
#

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

silk tapir
#

OK, but there should be an exception thrown that you can log, no?

ornate canyon
#

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

silk tapir
#

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

ornate canyon
#

ah yes

silk tapir
#

I recommend just catching the actual exception and coming back when you have that

ornate canyon
#

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

silk tapir
#

We won't be around tomorrow โ€“ weekend. Will be open Monday! OR you can write in for async support

ornate canyon
#

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

silk tapir
#

Hopefully we can get to the bottom of this next week for you

ornate canyon
#

Yeh! would be awesome