#AndySeigel

1 messages · Page 1 of 1 (latest)

unborn cargoBOT
round abyss
small locust
#

That page is spot on with what is happening, just not sure why

#

well, some say 400 error -> those I should be able to catch with the remote debugger, so I will try some more examples to see if I can.. but others just say 'err'

round abyss
#

Can you send me the Dashboard URL for the webhook endpoint that you're having issues with? I can take a quick look and see if anything is forthcoming

small locust
#

well I just did another request right now, and it didn't even show up. Maybe they are delayed or something

#

didn't show up in the dashboard that is

#

not sure what timezone dashboard is running though,

#

so maybe its there

round abyss
#

Most of those requests are timing out, so Stripe is waiting to get a response code back from your server (which is why it's not showing up immediately).

I have limited visibility, but if I had to guess, I would say that your webhook handler has some conditional statement that is causing only some requests to send back an HTTP 200 code. I would configure all the logical endpoints in the handler to send back the 200 success code, as only failed requests should send back other codes (for the most part)

small locust
#

Thank you. Its super confusing: I return 200 unless there is an exception.

#

There must be something on my end or elsewhere blocking some but not all of the almost-identicle requests from hitting my endpoint

round abyss
#

Can you do something like a console.log(); at each step in the handler to say basically "made it here" to see the full path that the handler is taking?

#

It's odd, because some requests are timing out (meaning no response is being sent from your server) and some requests are returning 400 errors

small locust
#

I saw this last time it hit an exception (inside my webhook code itself, so it is hitting it, then possibly exploding in my code), I will try and get more detail on the backend. This is progress, thanks for listening ! 🙂 I won't waste more of your time until I sort out more of what I just saw on my end here