# Cannot delete JWT app - Internal Server Error 500

**URL:** <https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357>\
**Category:** API and Webhooks\
**Created:** [January 6, 2020, 7:00pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357 "2020-01-06T19:00:59Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 7:01pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/1 "2020-01-06T19:01:00Z")

</div>

**Description**  
I created an app to use with JWT authentication. I was getting an error code of 124 “Empty Key”, when using said code. so i created another role and gave my user dev access instead of “admin”. now i can’t delete the previously created application. I get this:

**Error**  
`{"status":500,"error":"Internal Server Error","message":"api_credentials_not_found","tid":"08f68f04fc744b10","sid":"08f68f04fc744b10","timestamp":1578336700111}`

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
JWT

**Which Endpoint/s?**  
App management in the zoom marketplace dashboard

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Go to my app marketplace dashboard (manage apps)
2. See app I want to delete
3. click app i want to delete

**Screenshots (If applicable)**

 ![Screen Shot 2020-01-06 at 1.59.23 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/d/d28d0de7ef7254c20f55fa658ea628cf79dbc3c9.png)

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 7:02pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/2 "2020-01-06T19:02:24Z")

</div>

Now i can’t create a new app, because i see this:  
 ![Screen Shot 2020-01-06 at 2.01.52 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/5/57ba2933484917b235feb47eeaf1b62394f853b4.png)

BUT, that app doesn’t exist or is clearly broken on zoom’s backend somehow…

---

<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:** [January 6, 2020, 8:22pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/3 "2020-01-06T20:22:14Z")

</div>

Hey @ddechant,

To confirm you are trying to delete a JWT app? Only one JWT app can be created per master Zoom account, hence cannot be deleted and recreated.

[Do you have the Integration, Marketplace, and Developer permissions checked?](https://zoom.us/role)

 ![Screen Shot 2020-01-06 at 1.21.51 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/1/1da8e3cfc0ed1540b4dac0d3e9c6a06a7df5a793.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 8:29pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/4 "2020-01-06T20:29:32Z")

</div>

yes, i am trying to delete a JWT app. but i did not realize that only one can be created…

So after hitting delete, the app is stuck, it “exists”, meaning i see it in my dashboard, but when i click into it i get errors in the zoom UI (see previous screenshot). and there is no information for the app.

Basically, i was getting token errors using the JWT so i wanted to start over since i was changing roles for users. please advise on how to resolve this. I just need a JWT token that works…

---

<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:** [January 6, 2020, 8:51pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/5 "2020-01-06T20:51:19Z")

</div>

Hey @ddechant, thanks for the additional details.

How did you delete your JWT app? There is no option to delete it.

I’m guessing you actually deleted an OAuth app you made. If so, simply try [creating a new OAuth app.](https://marketplace.zoom.us/develop/create)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 9:01pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/6 "2020-01-06T21:01:30Z")

</div>

oddly enough, it seems to be back now and i can actually view it with no errors in the zoom ui.

when i try to use the api though ([https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users](https://marketplace.zoom.us/docs/api-reference/zoom-api/users/users))

with authorization set to `Bearer <insert my JWT here>`  
i get a 401 with a response of

```auto
{
  "code": 124,
  "message": "Empty key"
}

```

---

<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:** [January 6, 2020, 9:16pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/7 "2020-01-06T21:16:43Z")

</div>

Hey @ddechant,

I’m glad it is back to normal.

Can you send me a screenshot or code of your request so I can debug?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 9:30pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/8 "2020-01-06T21:30:39Z")

</div>

![Screen Shot 2020-01-06 at 4.30.16 PM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/a/ab4d3c5e4aa24fdeac8f4753d15ad53b5a18a2f1.png)

---

<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:** [January 6, 2020, 9:48pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/9 "2020-01-06T21:48:02Z")

</div>

Hey @ddechant,

Can you try generating a new JWT Token?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 10:09pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/10 "2020-01-06T22:09:01Z")

</div>

after generating a new one same thing…

---

<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:** [January 6, 2020, 10:29pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/11 "2020-01-06T22:29:55Z")

</div>

Hey @ddechant,

Can you schedule a Zoom meeting with me so I can take a look?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 6, 2020, 10:41pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/12 "2020-01-06T22:41:00Z")

</div>

absolutely, how do i go about that, do you have an email address?

---

<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:** [January 6, 2020, 10:53pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/13 "2020-01-06T22:53:02Z")

</div>

Saw you just scheduled for tomorrow! See you then! (ZOOM-131649)

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:** [January 7, 2020, 11:08pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/14 "2020-01-07T23:08:26Z")

</div>

Hey @ddechant,

We are working on the issue and hoping to have it fixed by the end of the week.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 8, 2020, 6:20pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/15 "2020-01-08T18:20:52Z")

</div>

thanks @tommy

any updates?

---

<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:** [January 8, 2020, 10:48pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/16 "2020-01-08T22:48:07Z")

</div>

Hey @ddechant,

We are still looking into this.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 9, 2020, 8:34pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/17 "2020-01-09T20:34:51Z")

</div>

hey @tommy

any updates?

---

<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:** [January 9, 2020, 8:42pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/18 "2020-01-09T20:42:55Z")

</div>

Hey @ddechant,

We have identified the issue, since you have migrated your account, the jwt application is bind to your old account so it does not work.

We are working to update your account on our backend to reset the JWT.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![ddechant](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ddechant/32/1571_2.png) [@ddechant](https://devforum.zoom.us/u/ddechant)\
**Post date:** [January 9, 2020, 8:51pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/19 "2020-01-09T20:51:09Z")

</div>

thats correct @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:** [January 9, 2020, 8:54pm UTC](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357/20 "2020-01-09T20:54:32Z")

</div>

Thanks @ddechant, we should have it working by tomorrow!

-Tommy

[Next page](https://devforum.zoom.us/t/cannot-delete-jwt-app-internal-server-error-500/7357.md?page=2)
