# Errors\_Invalid\_Parameter when joining session

**URL:** <https://devforum.zoom.us/t/errors-invalid-parameter-when-joining-session/53205>\
**Category:** iOS\
**Created:** [June 26, 2021, 2:51pm UTC](https://devforum.zoom.us/t/errors-invalid-parameter-when-joining-session/53205 "2021-06-26T14:51:25Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![blindgaenger](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/blindgaenger/32/25789_2.png) [@blindgaenger](https://devforum.zoom.us/u/blindgaenger)\
**Post date:** [June 27, 2021, 10:14am UTC](https://devforum.zoom.us/t/errors-invalid-parameter-when-joining-session/53205/2 "2021-06-27T10:14:14Z")

</div>

Hi there,

After debugging both versions again, I found the cause of the problem.

**zoom-instant-sdk:**

Since a session object was returned, I already suspected that it had another cause. Googling shows that the code 5003 in the zoom client indicates a connection problem. It would still be great if you could confirm this error detail code for the Video SDK.

Since then I have not gotten the error. I guess that was an unfortunate coincidence. Sorry about the confusion.

**zoom-video-sdk:**

I had noticed before that the `user_identity` in JWT is limited to 16 characters. (see [customUserId property does not exist - #8 by blindgaenger](https://devforum.zoom.us/t/customuserid-property-does-not-exist/47324/8))

Since “zoom-video-sdk-iOS-1.1.0” the limit has strangely decreased to 15 characters.

`"user_identity": "1234567890123456",` ← works in 1.0.2, but fails in 1.1.0  
`"user_identity": "123456789012345",` ← works in both versions

This is a pity, because I use UUIDs as user IDs, and the `customUserId` cannot be set yet. I would have liked the limit to increase. 🙃

Anyway, the solution is obvious, so I mark this thread as solved.

Cheers,  
Bernd

---

_[View the full topic](https://devforum.zoom.us/t/errors-invalid-parameter-when-joining-session/53205)._
