# DELETE Works, but w/500 Status Code

**URL:** <https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921>\
**Category:** API and Webhooks\
**Created:** [September 16, 2019, 3:48pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921 "2019-09-16T15:48:58Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 3:48pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/1 "2019-09-16T15:48:58Z")

</div>

On Mon, 16 Sep 2019 15:40:10 GMT, I issued a DELETE request to "[https://api.zoom.us/v2/meetings/414861164?"](https://api.zoom.us/v2/meetings/414861164?%22) and got a 500 response without a body. However, the meeting was indeed deleted.

If I try a DELETE on a nonexistent meeting, I get a proper 404.

Just wondering why the 500 response.

---

<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 16, 2019, 5:01pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/2 "2019-09-16T17:01:50Z")

</div>

Hey @ron.straight,

The 500 does seem odd. I tried to reproduce the error and I could not.

Are you including any [query parameters](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingdelete#request-parameters)?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 5:10pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/3 "2019-09-16T17:10:33Z")

</div>

No query parameters.

I didn’t notice the 500 response from DELETE requests until around the time I toggled the app intent to publish and got my developer credentials.

---

<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 16, 2019, 6:01pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/4 "2019-09-16T18:01:47Z")

</div>

Hey @ron.straight, is the 500 error still happening? Or did it just happen that once ^

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 6:28pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/5 "2019-09-16T18:28:18Z")

</div>

@tommy Yes, it’s still happening consistently. Just tried it a minute ago.

---

<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 16, 2019, 6:37pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/6 "2019-09-16T18:37:09Z")

</div>

Thanks @ron.straight,

Can you give me exact steps to reproduce?

1. What app type? (Account/User Level OAuth or JWT)
2. What type of meeting? (Recurring, scheduled, instant)
3. When are you deleting it? (Before, During, or After meeting has started)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 7:05pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/7 "2019-09-16T19:05:09Z")

</div>

1. OAuth app type.
2. Scheduled meeting type.
3. Deletion before meeting has started.

---

<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 16, 2019, 7:50pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/8 "2019-09-16T19:50:44Z")

</div>

Thank you @ron.straight.

This may be due to your account being a Basic account.

To use the Zoom APIs you need at least a [Pro account](https://zoom.us/pricing). Or you can request a Free Trail account to use/test the Zoom APIs.

Let me know how you want to move forward.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 8:18pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/9 "2019-09-16T20:18:50Z")

</div>

You mention a trial account, but I assume that’s only for testing, right? If we actually want to create an app that other users can use, it has to be owned by at least a Pro account?

---

<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 16, 2019, 8:53pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/10 "2019-09-16T20:53:44Z")

</div>

> [@ron.straight](#):
>
> You mention a trial account, but I assume that’s only for testing, right?

A free trail account can create and publish apps to the Marketplace for as long as the free trail period.

If you want your App to work long term yes, I would suggest upgrading to the [Pro Account](https://zoom.us/pricing).

Does that make sense?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 16, 2019, 9:19pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/11 "2019-09-16T21:19:25Z")

</div>

I wouldn’t say it makes sense, but I understand what you’re saying.

It will at least be easier to test OAuth with users under our account.

Thanks!

---

<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 16, 2019, 9:46pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/12 "2019-09-16T21:46:14Z")

</div>

@ron.straight, you can reach out to [isv@zoom.us](mailto:isv@zoom.us) to request a free trail account to test / develop your application.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 19, 2019, 6:17pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/13 "2019-09-19T18:17:17Z")

</div>

@tommy Still getting that 500 when performing a DELETE on a meeting after upgrading to a Pro account. The deletion happens, but the response indicates otherwise.

---

<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 19, 2019, 10:38pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/14 "2019-09-19T22:38:07Z")

</div>

Thanks @ron.straight,

This does seem like a bug. Can you give me a few of your meeting ID’s where you saw the 500 error so I can look at the logs?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 20, 2019, 2:48pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/15 "2019-09-20T14:48:07Z")

</div>

Hey, @tommy.

I just deleted 226213781 and 370927595 a few minutes ago.

---

<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 20, 2019, 10:08pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/16 "2019-09-20T22:08:28Z")

</div>

Thanks @ron.straight!

We will look at the logs and see what’s going on.

Will post back here with updates. ZOOM-110814

Thanks,  
Tommy

---

<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 24, 2019, 10:27pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/19 "2019-09-24T22:27:40Z")

</div>

Update, this may be related to moving a Personal Zoom Account to a Sub Account under a Master Account.

See:

> [@You cannot authorize the app](https://devforum.zoom.us/t/you-cannot-authorize-the-app/5997/7):
>
> Update, this is an edge case on our end where you create a Zoom App on the Marketplace on a Personal Zoom Account, then your Zoom Account is added to a Master Account as a Sub Account. The Apps in the App Marketplace aren’t transferred over to the Master Account properly. As a work around, create a new Zoom Marketplace App and it will be properly instantiated on the Master Account. We are working on fixing this. JIRA: ZOOM-111363 Thanks, Tommy

We are looking into this edge case and will fix.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 26, 2019, 4:22pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/20 "2019-09-26T16:22:28Z")

</div>

@tommy, after recreating the app, I’m still getting 500 on DELETE. Same behavior as before. The meeting is deleted, but the response has a status 500.

Just deleted 931674664 and 964129786.

---

<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 26, 2019, 10:57pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/21 "2019-09-26T22:57:20Z")

</div>

Thanks for the update @ron.straight

Can you send me a screenshot of your App’s request logs in the Zoom App Marketplace Dashboard after you get the 500 error?

[https://marketplace.zoom.us/user/logs](https://marketplace.zoom.us/user/logs)

 ![59%20PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/0/0bcc78dd51ab43de080ad77a948e8417c5a46881.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ron.straight](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ron.straight/32/1624_2.png) [@ron.straight](https://devforum.zoom.us/u/ron.straight)\
**Post date:** [September 27, 2019, 2:02pm UTC](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921/22 "2019-09-27T14:02:29Z")

</div>

I didn’t know about that page. Very useful!

 ![ZoomApiLogDELETE](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/5e9e09d3a87ca2da3472d16dad41fa78d85c5d9b.png)

As you can see, it says it returned a 204. That makes me wonder if maybe the error is from our proxy. I don’t even see the DELETE calls in our logs, and checking the code shows we may not be handling an empty response body correctly.

I’ll let you know if I find anything contrary, but for now I think we can assume this is on our end.

Sorry for wasting your time. I’ll know to check the API logs next time before I go crying wolf.

[Next page](https://devforum.zoom.us/t/delete-works-but-w-500-status-code/5921.md?page=2)
