# 400 Bad Request

**URL:** <https://devforum.zoom.us/t/400-bad-request/26071>\
**Category:** API and Webhooks\
**Created:** [August 3, 2020, 1:05pm UTC](https://devforum.zoom.us/t/400-bad-request/26071 "2020-08-03T13:05:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![moneil](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/moneil/32/12934_2.png) [@moneil](https://devforum.zoom.us/u/moneil)\
**Post date:** [August 3, 2020, 1:05pm UTC](https://devforum.zoom.us/t/400-bad-request/26071/1 "2020-08-03T13:05:11Z")

</div>

My first question since I am brand new to Zoom and trying to create a Zoom App is,  
I read about the development and production option for an APP but can’t quite figure out how to select either to create an APP for development vs production. Is there some selection I’m missing?

I did create a JWT app and did get to run successfully from my web site, but when I tried to run a “chat/users/me/messages” I get an (401) Unauthorized. It run OK for “users?status=active&page\_size=30&page\_number=1” but not for certain APIs. So I did read that the List Message API requires an OAuth App. Is that true?

So I created an OAuth App and got it to run to the point of successfully getting an auth… code returned ok. But using that auth. code with a “POST” and trying to run an API like  
“[api.zoom.us/v2/users/me](http://api.zoom.us/v2/users/me)” I keep getting a (400) Bad Request… I tried add scopes but that didn’t seem to make a difference.

So I need to figure out why I keep getting the (400) Bad Request when I run the Oauth App I created.

Any help would be great.

---

<div class="post-metadata">

**Author:** ![moneil](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/moneil/32/12934_2.png) [@moneil](https://devforum.zoom.us/u/moneil)\
**Post date:** [August 3, 2020, 3:13pm UTC](https://devforum.zoom.us/t/400-bad-request/26071/2 "2020-08-03T15:13:52Z")

</div>

What scope needs to be set to read Chat Messaged?

---

<div class="post-metadata">

**Author:** ![moneil](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/moneil/32/12934_2.png) [@moneil](https://devforum.zoom.us/u/moneil)\
**Post date:** [August 3, 2020, 6:12pm UTC](https://devforum.zoom.us/t/400-bad-request/26071/3 "2020-08-03T18:12:41Z")

</div>

I found my issue was because I build the APP at the Account Level rather than the User level, once I did that it worked as expected.

---

<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:** [August 4, 2020, 7:01pm UTC](https://devforum.zoom.us/t/400-bad-request/26071/4 "2020-08-04T19:01:40Z")

</div>

Happy to hear you figured out the issue! 🙂

Let me know if you have other questions!

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [August 14, 2020, 7:01pm UTC](https://devforum.zoom.us/t/400-bad-request/26071/5 "2020-08-14T19:01:43Z")

</div>

Closed on August 14, 2020, 7:01pm UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
