Response Code 200 when trying to create Zoom meeting in Python

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). 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()

Hey @j001,

It looks like that user does not have any meetings scheduled. Also notice what query params you are passing in (default is for live meetings), I cannot tell since you are sing a third party library.

Thanks,
Tommy

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