# Response Code 200 when trying to create Zoom meeting in Python

**URL:** <https://devforum.zoom.us/t/response-code-200-when-trying-to-create-zoom-meeting-in-python/25451>\
**Category:** API and Webhooks\
**Created:** [July 28, 2020, 12:56pm UTC](https://devforum.zoom.us/t/response-code-200-when-trying-to-create-zoom-meeting-in-python/25451 "2020-07-28T12:56:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![j001](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@j001](https://devforum.zoom.us/u/j001)\
**Post date:** [July 28, 2020, 12:56pm UTC](https://devforum.zoom.us/t/response-code-200-when-trying-to-create-zoom-meeting-in-python/25451/1 "2020-07-28T12:56:14Z")

</div>

**Description**  
Hello,

I’m getting response 200 when I’m trying to create a meeting in Python. I’m using the zoomus python wrapper written by prschmid ([https://github.com/prschmid/zoomus](https://github.com/prschmid/zoomus)). I’m using the following code to create a meeting:

```
     # create Zoom meeting
                    client = ZoomClient('key', 'secret')

                    user_list_response = client.user.list()
                    user_list = json.loads(user_list_response.content)
                    for user in user_list['users']:
                         user_id = user['id']
                         print(json.loads(client.meeting.list(user_id=user_id).content))
                    zoom_meeting = client.meeting.create(topic="Meeting", type=2, start_time=str(zoom_format), duration=30, userId=str(user.email), agenda="")
                    print("zoom meeting")
                    print(zoom_meeting)

```

**Error**  
Here is the full response I get back:  
{

```
"endpoint": "https://api.zoom.us/v2/users/xxx/meetings",

"response_headers": [

"Set-Cookie: zm_aid=""; Domain=.zoom.us; Expires=Thu, 01-Jan-1970 00:00:10 GMT; Path=/; Secure; HttpOnly"

],

"date_time": "2020-07-26 19:40:26",

"method": "GET",

"request_body": "N/A",

"response": {

"page_size": 30,

"total_records": 0,

"next_page_token": "",

"meetings": [

]

},

"request_headers": [

"accept-encoding: gzip, deflate",

"accept: */*",

"authorization: ******",

"connection: close",

"user-agent: python-requests/2.24.0"

],

"request_params": [

"user_id: xxx"

],

"http_status": "200"

} 

```

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

**Which Endpoint/s?**  
See above

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:  
client.meeting.create()

---

<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 30, 2020, 8:59pm UTC](https://devforum.zoom.us/t/response-code-200-when-trying-to-create-zoom-meeting-in-python/25451/2 "2020-07-30T20:59:46Z")

</div>

Hey @j001,

It looks like that user does not have any meetings scheduled. Also notice what [query params](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetings) you are passing in (default is for live meetings), I cannot tell since you are sing a third party library.

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 9, 2020, 8:59pm UTC](https://devforum.zoom.us/t/response-code-200-when-trying-to-create-zoom-meeting-in-python/25451/3 "2020-08-09T20:59:47Z")

</div>

Closed on August 9, 2020, 8:59pm UTC

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