Cannot process webhook requests from private app in my application

Hello there! I’m a newbie in development world. I created an Express application, which syncs HubSpot tickets and ClickUp tasks using private app token and deployed it on Render (free plan). However, when trying to send notification via webhook subscription from private app, I’m always seeing the following result:

{
“success”: null,
“fail”: {
“error”: {
“status”: “error”,
“category”: “SERVICE_UNAVAILABLE”,
“subCategory”: “SubscriptionWebhookErrorCategory.REQUEST_TIMEOUT”,
“message”: “The request timed out. This may be happening because of how your app processes requests. We recommend queuing the request, sending a 204, and then processing it.”
},
“errorCategory”: “REQUEST_TIMEOUT”
}
}

Sending exactly the same payload via Postman to my application works perfectly. Please help!

Hi, @RAvetisov :waving_hand: Thanks for your question. Have you tried what the error code is suggesting? To send the 204 quicker?

Here are a few basic steps you can try:

  • Implement a queuing system in your app, so it acknowledges the webhook with a 204 status code quickly, and then processes the request.
  • Check your server logs to identify any potential bottlenecks or issues that might be causing the delay

Best,

Jaycee