# Webhook event 'webinar.ended' continuing to return 500 error

**URL:** <https://devforum.zoom.us/t/webhook-event-webinar-ended-continuing-to-return-500-error/6050>\
**Category:** API and Webhooks\
**Created:** [September 27, 2019, 7:18pm UTC](https://devforum.zoom.us/t/webhook-event-webinar-ended-continuing-to-return-500-error/6050 "2019-09-27T19:18:13Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [September 27, 2019, 9:05pm UTC](https://devforum.zoom.us/t/webhook-event-webinar-ended-continuing-to-return-500-error/6050/7 "2019-09-27T21:05:21Z")

</div>

Happy to help @twentyoverten!

> [@twentyoverten](#):
>
> Only thing missing in the code you updated is wrapping that uuid var in the double url encode right?

Correct, I will update the code 🙂

(also fyi js [escape is deprecated](https://www.w3schools.com/jsref/jsref_escape.asp), use `encodeURIComponent(encodeURIComponent('GcQQNt4cSx2u1Q/e/+evzw=='))`

Let me know if this works / doesn’t work!

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/webhook-event-webinar-ended-continuing-to-return-500-error/6050)._
