# Error on OAuth app

**URL:** <https://devforum.zoom.us/t/error-on-oauth-app/6071>\
**Category:** API and Webhooks\
**Created:** [September 30, 2019, 3:58pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071 "2019-09-30T15:58:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![udi](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@udi](https://devforum.zoom.us/u/udi)\
**Post date:** [September 30, 2019, 3:58pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/1 "2019-09-30T15:58:04Z")

</div>

**Description/Error**  
Got and Internal server Error  
error: “Internal Server Error”  
message: “An error was encountered when processing your request”  
sid: “00135a81e4fb0616”  
status: 500  
tid: “00135a81e4fb0616”  
timestamp: 1569858790564

**Which Endpoint/s or App Types**  
[https://marketplace.zoom.us/api/v1/apps/njzCoCBATdScH24bB4LpDQ/subscriptions/](https://marketplace.zoom.us/api/v1/apps/njzCoCBATdScH24bB4LpDQ/subscriptions/)

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

1. Create OAuth App Type OAuth
2. Install
3. See error

**Screenshots (If applicable)**

 ![25](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/c/cb38c1d4f0af7592d0229a62aeb309165f01a6cb.png)

---

<div class="post-metadata">

**Author:** ![udi](https://avatars.discourse-cdn.com/v4/letter/u/8dc957/32.png) [@udi](https://devforum.zoom.us/u/udi)\
**Post date:** [September 30, 2019, 4:17pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/2 "2019-09-30T16:17:31Z")

</div>

it works now  
i think it can be happens due to not urlencoded state parameter

---

<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 30, 2019, 4:56pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/3 "2019-09-30T16:56:25Z")

</div>

Thanks for the post @udi.

Yes if the state query param contains special characters like a `/` it could break. Please [url encode](https://www.urlencoder.org/) so all the state query param values are [url safe](https://stackoverflow.com/questions/695438/safe-characters-for-friendly-url).

-Tommy

---

<div class="post-metadata">

**Author:** ![jford](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jford/32/3432_2.png) [@jford](https://devforum.zoom.us/u/jford)\
**Post date:** [March 7, 2020, 8:29pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/4 "2020-03-07T20:29:05Z")

</div>

Hi @tommy

I’m working on an app using Zoom for authentication. I’m also getting an internal server error authorizing the app. Here’s the URL - my state parameter is URL safe.

Thanks!

> **[Video Conferencing, Web Conferencing, Webinars, Screen Sharing](https://zoom.us/oauth/signin?_rnd=1583612749194&client_id=PbjKt1miRMK7jxsogfPFw&redirect_uri=https:%2F%2Flocalhost:5011%2Fauthenticate&response_type=code&state=CfDJ8NsP10NUtA1HpnZVOQbPQl5D397USEIo2oeCMb1zP4sBZwLQx7PJhJKn1S0iFErsfSuABVWaTTOfVtelpRVkWCT8lW3CsLlBNreym_AxIxtulsEvG4L4aKVK0jxN-UtMjoOiOOySOE6JV1nl5fk4XiEhjiiN-Vln0EVBjpdBGP1cyWJ7RmSkdSF_f3gFVRnx21msRz_4Iy1YbJGWIh5GU61KuIQBI908kKFI-Ahy2S-CEBcG1RoKgHD7kgQ41s9empdamh4fHEm3jIJ-_CrBfXbBZ-fzddiR0uGkdHyBVY_2&scope=account:read:admin%20meeting:write:admin)**
>
> Zoom is the leader in modern enterprise video communications, with an easy, reliable cloud platform for video and audio conferencing, chat, and webinars across mobile, desktop, and room systems. Zoom Rooms is the original software-based conference...

---

<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:** [March 9, 2020, 3:48pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/5 "2020-03-09T15:48:56Z")

</div>

Hey @jford, thanks for posting and using Zoom!

Can you share your install url with me? (The URL you shared above is the sign in URL).

It should look like this:

`https://zoom.us/oauth/authorize?client_id=UD20wEqgQMyNmiR5IhinXA&response_type=code&redirect_uri=https%3A%2F%2Ffe3a59ba.ngrok.io%2Fauth`

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:24pm UTC](https://devforum.zoom.us/t/error-on-oauth-app/6071/6 "2020-08-21T19:24:36Z")

</div>


