#art-event-debug

1 messages · Page 1 of 1 (latest)

brittle boughBOT
#

Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

sage scroll
#

It looks like your local endpoint is not responding to the POST request, so it times out after ~30s

#

You need to make sure your /pay_notification endpoint is returning a response, ideally a 200 success

#

But if necessary an error status response

obsidian seal
sage scroll
#

This is using ExpressJS?

#

Can you try using res.send({ received: true });

#

I'm not sure if those methods actually send the response

#

It might depend on the specific Express version

#

But the timeout suggests the response is not being sent back

obsidian seal
sage scroll
#

If you call the endpoint manually do you get a response?

#

Something like:

curl --request POST \
  --url http://localhost:3000/api/pay_notification \
  --header 'Content-Type: application/json' \
  --data '{ "id": "evt_123", "object": "event", "type": "event.test" }'
brittle boughBOT