#bnteguh-api-errors
1 messages · Page 1 of 1 (latest)
acct_1J9CBrGq2BWKT7QC
that's different logs from dev overview.
Your amount value is invalid. Needs to be an integer: https://stripe.com/docs/currencies#zero-decimal
They were filtered out. Clear the filters and they'll be there
already do that, but it's only show last 5 hours logs. no recents
but from the dev overview, it's there
I don't think those are using localised timezones
The others are localised to the account timezone (UTC-5)
I think it's localize tz, my tz is 8:36PM
I'm not sure what the ask is here. Are you not logging these error responses in your application?
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
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
please check my Developer overview, and bottom right "Recent errors"
I can see that, yes
any way I can see list of logs?
like using API?
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)
Not for logs, no
Are you using different API keys?
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
Hmm, I can't see them either. You're using Salesforce, right?
Can you share the code making the API request?
Thank you @weary heath
Hi there 👋 please bear with me a moment while I get caught up on this thread.
hey @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?
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
Yes I can see that, and it's not returning any errors for me either.
yes, so I think it's from Stripe dashboard
What do you mean?
I mean the error from the Stripe dashboard, can't retrieve the log detail even it's actually recorded
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.
and from Last used info, it's 7 hours ago, I made requests within 1-2 hours ago
Then I would double check the key that you're using is correct.
I'm using API key from the Stripe
Can you log the outbound call and inspect the headers?
Even I don't catch with try catch, the error should still be accessible from Stripe logs.
right?
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?
This is current Recent errors,
I'll update it by request new API call
it's not 12 error logs
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.
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..
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.
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
The percent symbol is a special character and needs to be escaped
with \%?
It would need to be replaced with %25
https://www.werockyourweb.com/url-escape-characters/
Got it, thank you @wooden glen.
Have a nice day!