# Webhook stops and throws 500 on updating multiple tasks

**URL:** <https://forum.asana.com/t/webhook-stops-and-throws-500-on-updating-multiple-tasks/136262>\
**Category:** API & Developers\
**Created:** [17 September 2021 10:54 UTC](https://forum.asana.com/t/webhook-stops-and-throws-500-on-updating-multiple-tasks/136262 "2021-09-17T10:54:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amit\_Sharma](https://luna1.co/8d76cd.png) [@Amit\_Sharma](https://forum.asana.com/u/Amit_Sharma)\
**Post date:** [17 September 2021 10:54 UTC](https://forum.asana.com/t/webhook-stops-and-throws-500-on-updating-multiple-tasks/136262/1 "2021-09-17T10:54:19Z")

</div>

Hello Asana Team,

I am facing issue with my webhook. I have created webhook to capture any event which takes place in my project. But I have observed weird behavior as follow:

Issue : Whenever I update 2-5 tasks in project, it works fine. I get 200 and data reaches where it’s required. However, whenever I update 10 or more tasks, it captures first few events and then starts giving 500 error in logs. Once I receive 500 in logs, then it’s game over. No further events are captured even if I update a single task. It keeps throwing 500 and eventually I have delete that webhook and create new one for the same project which should not be the case. You can find the error below.

Error:  
TypeError [ERR\_INVALID\_ARG\_TYPE]: The “key” argument must be of type string or an instance of Buffer, TypedArray, DataView, or KeyObject. Received an instance of Promise

Please Help.

Regards

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/asana/user_avatar/forum.asana.com/system/32/276370_2.png) [@system](https://forum.asana.com/u/system)\
**Post date:** [30 May 2025 19:05 UTC](https://forum.asana.com/t/webhook-stops-and-throws-500-on-updating-multiple-tasks/136262/2 "2025-05-30T19:05:12Z")

</div>

Closed on 30 May 2025 19:05 UTC


