#bethany-request-logs

1 messages ยท Page 1 of 1 (latest)

solemn pelican
#

hello, not via the API but I recall the Dashboard Logs page might offer better filtering

stable oak
#

do you know what is meant by error param here?

solemn pelican
#

do you have an example request ID? can startlooking there

stable oak
#

ID from the post request: req_DdT1fqlO2Rr4FY

#

oh, here is the charge id "ch_2KYamVDVdZbiZfMl0cNSXESf"

#

if i could export all these failed charges i could filter elsewhere.

#

or maybe there is some syntax thing with the error param field that would let me search on the message field?

dawn jungle
#

Hi ๐Ÿ‘‹

#

Jumping in for @solemn pelican

#

So think the combination of filters from the Dashboard could get you there. In addition to the extra filters you are showing above, you can filter by request outcome (success, failure) as well as the API endpoint (like /v1/charges)

#

So if you started by filtering for Failed requests to /v1/charges and then tried the invalid_account or card_declined in the error code or error param filter that would likely help you narrow it down.

stable oak
#

But there's no way to export the list? So I'd still have manually collate a list if, for example, I wanted to email all my users who've errored like this in the past N weeks?

#

Because i might've had an error in my error handling and i might've just dropped all those transactions on the floor, and they might want to know why they didn't get charged as expected.. ๐Ÿ˜

dawn jungle
#

Ah, I can understand that. Let me take a look

#

I'm sorry to say I don't see something like that in the dashboard.

stable oak
#

Ok, thanks @dawn jungle !