# Receiving error "You cannot authorize the app"

**URL:** <https://devforum.zoom.us/t/receiving-error-you-cannot-authorize-the-app/22707>\
**Category:** API and Webhooks\
**Created:** [June 30, 2020, 1:37am UTC](https://devforum.zoom.us/t/receiving-error-you-cannot-authorize-the-app/22707 "2020-06-30T01:37:30Z")\
**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:** [July 6, 2020, 5:56pm UTC](https://devforum.zoom.us/t/receiving-error-you-cannot-authorize-the-app/22707/7 "2020-07-06T17:56:18Z")

</div>

Hey @pb_zoom, @josharcher,

Our engineering team is aware of the issue and investigating this. While the team is yet to confirm the exact cause of error, upon initial review, they suspect the issue lies with this specific use of the state parameter. In the meantime they have advised that you revise the OAuth URL to not use a state parameter and it should resolve the authorization error.

For a quick resolution, if you still plan to use the state parameter you can try either of these options.

Option 1:  
If possible please limit to using a single value in the state parameter.  
[https://zoom.us/oauth/authorize?response\_type=code&client\_id=CLIENT\_ID&redirect\_uri=REDIRECT\_URL&state=STATE\_STRING](https://zoom.us/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URL&state=STATE_STRING)

Option 2:  
Make use of the [base64UrlEncode](https://www.urlencoder.org/) or [base64Encode](https://www.base64decode.org/) function to encode the state parameter  
[https://zoom.us/oauth/authorize?response\_type=code&client\_id=CLIENT\_ID&redirect\_uri=REDIRECT\_URL&state=BASE64\_ENCODED\_STRING](https://zoom.us/oauth/authorize?response_type=code&client_id=CLIENT_ID&redirect_uri=REDIRECT_URL&state=BASE64_ENCODED_STRING)

The engineering team is investigating this at priority and we will keep you updated on the status. Let me know if neither of these help resolve the error you are encountering.

Thanks,  
Tommy

---

_[View the full topic](https://devforum.zoom.us/t/receiving-error-you-cannot-authorize-the-app/22707)._
