#bnteguh-api-errors

1 messages · Page 1 of 1 (latest)

weary heath
#

Hey! Can you share your Stripe account ID?

gray sorrel
#

acct_1J9CBrGq2BWKT7QC

gray sorrel
#

that's different logs from dev overview.

weary heath
weary heath
gray sorrel
#

already do that, but it's only show last 5 hours logs. no recents

#

but from the dev overview, it's there

weary heath
gray sorrel
#

that's log from 5 hours ago

#

this from dev overview

weary heath
#

The others are localised to the account timezone (UTC-5)

gray sorrel
#

I think it's localize tz, my tz is 8:36PM

weary heath
#

I'm not sure what the ask is here. Are you not logging these error responses in your application?

gray sorrel
#

I can click the second logs, which the 4 logs you send. this is logs from 5 hours ago

I can't click the first one, the latest

#

from my application, it's return nothing, only said 400 error

weary heath
#

I think this is just a Dashboard bug grouping errors incorrectly

#

I'm looking at the account logs and there's been no API activity for ~4.5 hours

gray sorrel
#

please check my Developer overview, and bottom right "Recent errors"

weary heath
#

I can see that, yes

gray sorrel
#

any way I can see list of logs?
like using API?

weary heath
#

As I explained that's likely some kind of Dashboard bug. I'm checking your account using internal tools and there's no API activity that's aligned with those timestamps

#

Last (test) API request was at 9:07 UTC this morning (~4.5 hours ago)

weary heath
gray sorrel
#

I just make some requests for last hour ago.

#

But yes, no logs recorded

weary heath
#

Are you using different API keys?

gray sorrel
#

no

#

and Recent errors just know it. There's error but not shown.

#

Just request another, the recent error updated

#

But still can't see it

weary heath
#

Hmm, I can't see them either. You're using Salesforce, right?

gray sorrel
#

yes, but it doesn't matter, I think

#

it's working fine 5 hours ago.

weary heath
#

Can you share the code making the API request?

gray sorrel
weary heath
#

Yeah, nothing out of the ordinary

#

Checking on this still

gray sorrel
#

Thank you @weary heath

wooden glen
#

Hi there 👋 please bear with me a moment while I get caught up on this thread.

gray sorrel
#

hey @wooden glen

wooden glen
#

I'm not sure why you're not able to see the logs that the dashboard is referencing, but we aren't seeing them either so I'm thinking it's an authentication issue of some sort. Can you try catching the error on your end and inspecting it for more details?

gray sorrel
#

can you see the Recent error section from Developer overview?
there's the log, but can't view it.

it's not returning any error message from my app

wooden glen
#

Yes I can see that, and it's not returning any errors for me either.

gray sorrel
#

yes, so I think it's from Stripe dashboard

wooden glen
#

What do you mean?

gray sorrel
#

I mean the error from the Stripe dashboard, can't retrieve the log detail even it's actually recorded

wooden glen
#

No, even in my internal view I am not seeing any post requests on your account (for test mode) since 9:07 UTC. This is why I'm thinking it's an authentication issue that is preventing the logs from being fully associated with your account.

gray sorrel
#

and from Last used info, it's 7 hours ago, I made requests within 1-2 hours ago

wooden glen
#

Then I would double check the key that you're using is correct.

gray sorrel
#

I'm using API key from the Stripe

wooden glen
#

Can you log the outbound call and inspect the headers?

gray sorrel
#

Ok..

#

the API Key is working

gray sorrel
wooden glen
#

It probably is, but since it's not reflecting on your account we have no idea where to look for it.

#

Also, the logs from that call appear to be a get request, can you log the outbound call from the post request that you shared the snippet for earlier?

gray sorrel
#

This is current Recent errors,

#

I'll update it by request new API call

#

it's not 12 error logs

wooden glen
#

That won't help with our investigation, it will just increment the number of recent errors. We need you to collect details from your end when the call fails.

gray sorrel
#

Ah, ok, I'll debug on my side.
I'm just curious why the log from Recent errors can't be retrieved

#

And from my side, it doesn't returning any error message, just 400 bad request

#

eh..

#

I think I know the issue..

wooden glen
#

Oohh?

#

I'd also like to know why the logs aren't displaying, but they're tricky for us to find without context as we have over 10k log entries per second.

gray sorrel
#

When I trying to add "50%" with % symbol, it's error

#

then I replace it with percent (text)

#

now working

#

do you know why?

#

so, that'll request this

wooden glen
#

The percent symbol is a special character and needs to be escaped

gray sorrel
#

with \%?

wooden glen
gray sorrel
#

Got it, thank you @wooden glen.
Have a nice day!