#bethany-request-logs
1 messages ยท Page 1 of 1 (latest)
hello, not via the API but I recall the Dashboard Logs page might offer better filtering
do you have an example request ID? can startlooking there
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?
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.
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.. ๐
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.
What you could do is use the Charges List API, step through all charges, and look for the card declined error code.
Ok, thanks @dawn jungle !