# Zoom Rooms 'Join' API doesn't work with many meeting passwords

**URL:** <https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620>\
**Category:** API and Webhooks\
**Created:** [May 14, 2020, 9:25am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620 "2020-05-14T09:25:45Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom.usher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.usher/32/8442_2.png) [@tom.usher](https://devforum.zoom.us/u/tom.usher)\
**Post date:** [May 14, 2020, 9:25am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/1 "2020-05-14T09:25:45Z")

</div>

**Description**  
We use the [Zoom Rooms ‘Join’ API](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-api#join) to make rooms join meetings on-demand.

This endpoint has the restriction that “Password may only contain the following characters: [a-z A-Z 0-9 @ – \_ \*]. Max of 10 characters.”.

However, recent Zoom security changes have increased the security of auto-generated passwords so they include characters outside of this allowed set of characters (?, #, etc.).

This means we can’t use this API endpoint for many Zoom meetings.

**Error**  
On triggering the API with a password containing ‘invalid’ characters:

```
{'jsonrpc': '2.0', 'error': {'code': 32602, 'message': 'Validation Failed.', 'data': [{'field': 'params.password', 'message': 'Invalid field.'}]}}

```

**Which Endpoint/s?**

> **[Zoom Rooms API - Zoom Rooms - Documentation](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-api#join)**
>
> We are excited to announce the APIs to control Zoom Rooms. These first set of APIs allow your app to get the list of rooms on your account, select a roo...

---

<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:** [May 19, 2020, 6:40pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/2 "2020-05-19T18:40:44Z")

</div>

Hey @tom.usher,

Thanks for sharing this. Our engineering team is investigating. I will get back to you with updates. (ZOOM-162547)

Thanks,  
Tommy

---

<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:** [May 20, 2020, 4:46pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/3 "2020-05-20T16:46:27Z")

</div>

Hey @tom.usher,

We updated our docs to include the new password requirements:

> **[Zoom Rooms API - Zoom Rooms - Documentation](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-api#join-a-meeting)**
>
> We are excited to announce the APIs to control Zoom Rooms. These first set of APIs allow your app to get the list of rooms on your account, select a roo...

Make sure the password you are setting aligns with your password strength requirements in your [settings](https://zoom.us/account/setting).

 ![Screen Shot 2020-05-20 at 10.46.09 AM](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/e/e9f2887be6fa5be1dda719cafe3ca573adb5fdf7.png)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.usher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.usher/32/8442_2.png) [@tom.usher](https://devforum.zoom.us/u/tom.usher)\
**Post date:** [May 21, 2020, 9:12am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/4 "2020-05-21T09:12:07Z")

</div>

Thanks for looking in to this and updating the documentation so promptly.

However, this doesn’t seem to align with what we’re currently seeing:

- Meetings that are created with ‘Free’ accounts do not have the option to set minimum password requirements
- There are no minimum password requirements set on the account that owns the Zoom Rooms
- Meetings that are generated using the ‘New Meeting’ button, or via the Slack integration get generated with passwords that aren’t compatible (e.g w46!(i{74n)

So in summary:

- A user with a free account creates a meeting, a password like w46!(i{74n might be generated.
- Attempting to make the room join the meeting using this password results in an error
- There are no minimum password requirements set on either account

---

<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:** [May 27, 2020, 9:54pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/5 "2020-05-27T21:54:42Z")

</div>

Hey @tom.usher,

Gotcha, thanks we will look into this further.

-Tommy

---

<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:** [June 4, 2020, 5:42am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/6 "2020-06-04T05:42:31Z")

</div>

Hey @tom.usher,

I need some additional details.

What is the exact error message you are seeing, and what is your account #?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.usher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.usher/32/8442_2.png) [@tom.usher](https://devforum.zoom.us/u/tom.usher)\
**Post date:** [June 4, 2020, 9:26am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/7 "2020-06-04T09:26:26Z")

</div>

No problem.

The account which ‘owns’ the Zoom Rooms is 442755. We created an unpublished app in the marketplace called ‘Zoom Room Joiner’ associated with this account, which is being used to join calls.

The host of a call can be any other Zoom account, we have tried with multiple.

The exact error is, when POSTing

```auto
{
  "jsonrpc": "2.0",
  "method": "join",
  "params": {
    "meeting_number": "{any given meeting number with spaces/dashes removed}",
    "password": "{password containing invalid characters}",
    "force_accept": false,
  }
}

```

to `https://api.zoom.us/v2/rooms/{roomId}/meetings` where `roomId` is the value of an ID returned from `https://api.zoom.us/v2/rooms`.

The error is:

`{'jsonrpc': '2.0', 'error': {'code': 32602, 'message': 'Validation Failed.', 'data': [{'field': 'params.password', 'message': 'Invalid field.'}]}}`

---

<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:** [June 9, 2020, 9:17pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/8 "2020-06-09T21:17:34Z")

</div>

Thanks for the details @tom.usher,

We should be able to figure this out now.

Thanks for your patience,  
Tommy

---

<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:** [June 10, 2020, 4:38pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/9 "2020-06-10T16:38:44Z")

</div>

Hey @tom.usher,

We are still not able to reproduce this issue. Can you please try creating a meeting with the same password using the [Create Meeting API](https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate) or [Zoom Web Portal](https://zoom.us/meeting). Let me know if you see the same error message.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.usher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.usher/32/8442_2.png) [@tom.usher](https://devforum.zoom.us/u/tom.usher)\
**Post date:** [June 11, 2020, 9:26am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/10 "2020-06-11T09:26:52Z")

</div>

Here’s a python script which replicates the issue:

```auto
import requests

API_URL = "https://api.zoom.us/v2/"
USER_ID = "[redacted]"
PERSONAL_JWT_TOKEN = "[redacted]"
ZOOMROOM_JWT_TOKEN = "[redacted]"

MEETING_PASSWORD = "w46!(i{74n"
ZOOM_ROOM_ID = "[redacted]"

def create_meeting():
    body = {
        "topic": "Test Meeting",
        "type": 1,
        "password": MEETING_PASSWORD,
    }
    res = requests.post(
        f"{API_URL}users/{USER_ID}/meetings",
        json=body,
        headers={"Authorization": f"Bearer {PERSONAL_JWT_TOKEN}"},
    )
    return res.json()

def zoom_room_join_meeting(meeting_id):
    body = {
        "jsonrpc": "2.0",
        "method": "join",
        "params": {"meeting_number": meeting_id, "password": MEETING_PASSWORD},
    }

    res = requests.post(
        f"{API_URL}rooms/{ZOOM_ROOM_ID}/meetings",
        json=body,
        headers={"Authorization": f"Bearer {ZOOMROOM_JWT_TOKEN}"},
    )
    return res

meeting = create_meeting()
res = zoom_room_join_meeting(meeting["id"])
print(res.content)

```

where:

- `USER_ID` is my user ID as returned from `GET /users` using a JWT token from my personal account.
- `PERSONAL_JWT_TOKEN` is a JWT token generated from the app marketplace on a test app created on my personal account.
- `ZOOMROOM_JWT_TOKEN` is a JWT token generated from the app marketpalce on the Zoom Room Joiner app owned by the account which also owns the Zoom Rooms.
- `MEETING_PASSWORD` is an example of a password that has been generated automatically by the Zoom client when a user has created a meeting in the past.
- `ZOOM_ROOM_ID` is the ID of the Zoom Room I’m attempting to make join, as returned by `GET /rooms` using the Zoom Room Joiner JWT token.

When `MEETING_PASSWORD` is `w46!(i{74n`, the output of the script is:

`b'{"jsonrpc":"2.0","error":{"code":32602,"message":"Validation Failed.","data":[{"field":"params.password","message":"Invalid field."}]}}'`

and the room fails to join.

When `MEETING_PASSWORD` is `test123`, the output of the script is:

`b'{"jsonrpc":"2.0","result":{"room_id":"[redacted]","send_at":"2020-06-11T09:25:03Z"},"id":"a138c758-a43d-487a-bf5f-dfc6df7a0b75"}'`

and the room joins successfully.

Hope that’s useful! Let me know if I can provide any more details.

---

<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:** [June 16, 2020, 9:55pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/11 "2020-06-16T21:55:40Z")

</div>

Hey @tom.usher,

Thanks for the script and additional details, I will provide you with an update once we figure out the issue.

-Tommy

---

<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:** [June 17, 2020, 4:34pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/12 "2020-06-17T16:34:41Z")

</div>

Hey @tom.usher,

Hi, we have found the root cause, this is a bug, we will fix it in the future.

Can you confirm this error happens when [scheduling a Zoom Room meeting](https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-api#schedule)?

“{{b’{“jsonrpc”:“2.0”,“error”:{“code”:32602,“message”:“Validation Failed.”,“data”:[  
{“field”:“params.password”,“message”:“Invalid field.”}  
]}}’}}"

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tom.usher](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tom.usher/32/8442_2.png) [@tom.usher](https://devforum.zoom.us/u/tom.usher)\
**Post date:** [June 18, 2020, 10:06am UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/13 "2020-06-18T10:06:16Z")

</div>

Thanks Tommy!

Yes I get the same error when scheduling a Zoom Room meeting with the same password.

---

<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:** [June 23, 2020, 5:25pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/14 "2020-06-23T17:25:55Z")

</div>

Hey @tom.usher,

We will be releasing the fix for this in mid July.

Thanks for your patience,  
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, 10:23pm UTC](https://devforum.zoom.us/t/zoom-rooms-join-api-doesnt-work-with-many-meeting-passwords/17620/15 "2020-08-21T22:23:56Z")

</div>

Closed on August 21, 2020, 10:23pm UTC


