# Create seesion and got error 1509

**URL:** <https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445>\
**Category:** Video SDK\
**Created:** [December 18, 2022, 5:41am UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445 "2022-12-18T05:41:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![lasmarthomedev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lasmarthomedev/32/42583_2.png) [@lasmarthomedev](https://devforum.zoom.us/u/lasmarthomedev)\
**Post date:** [December 18, 2022, 5:41am UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/1 "2022-12-18T05:41:44Z")

</div>

video sdk version： 1.5.3  
Device: vivo V2121A-30  
OS: Android 11  
The following problems occurred when creating the session，After generating jwt token and create a session with this JWT ，always got error: Session error: 1509

 ![_Y%E%@XAM90@BOCCV7ZP1R](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/b/8/b8b6a100ca99f5290ddc0070b557682bd5e996a2.jpeg)  
 ![FP%NK$5MV9A90OKIN)VM`JF](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/9/5/957697312e8bd99b60edace4085887f52b4505de.jpeg)

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [December 19, 2022, 5:45pm UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/2 "2022-12-19T17:45:10Z")

</div>

Hey there! Thanks for your post!

I’ve requested further information from our development team to help fill out the error page located here - [https://developers.zoom.us/docs/sdk/video/macos/error-codes/](https://developers.zoom.us/docs/sdk/video/macos/error-codes/)

Once I have the 1509 error details, I’ll let you know. Thanks!

---

<div class="post-metadata">

**Author:** ![lasmarthomedev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lasmarthomedev/32/42583_2.png) [@lasmarthomedev](https://devforum.zoom.us/u/lasmarthomedev)\
**Post date:** [December 19, 2022, 6:55pm UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/3 "2022-12-19T18:55:25Z")

</div>

Kelly, thank you so much for your prompt response.  
Larry

---

<div class="post-metadata">

**Author:** ![weikemin](https://avatars.discourse-cdn.com/v4/letter/w/e9a140/32.png) [@weikemin](https://devforum.zoom.us/u/weikemin)\
**Post date:** [December 20, 2022, 7:59am UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/4 "2022-12-20T07:59:59Z")

</div>

ZoomVideoSDKErrors\_JoinSession\_Token\_RoleType\_EmptyOrWrong = 1509,  
role value is int

---

<div class="post-metadata">

**Author:** ![lasmarthomedev](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/lasmarthomedev/32/42583_2.png) [@lasmarthomedev](https://devforum.zoom.us/u/lasmarthomedev)\
**Post date:** [December 20, 2022, 9:04am UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/5 "2022-12-20T09:04:24Z")

</div>

Thank you for your guidance. We will check it out and keep you posted.  
Larry

---

<div class="post-metadata">

**Author:** ![kellyjandrews](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kellyjandrews/32/51599_2.png) [@kellyjandrews](https://devforum.zoom.us/u/kellyjandrews)\
**Post date:** [December 20, 2022, 12:39pm UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/6 "2022-12-20T12:39:05Z")

</div>

Here is a full list for Android - each language should have a list like this in the constants.

[https://marketplacefront.zoom.us/sdk/custom/android/constant-values.html#us.zoom.sdk.ZoomVideoSDKErrors.Errors\_Invalid\_Parameter](https://marketplacefront.zoom.us/sdk/custom/android/constant-values.html#us.zoom.sdk.ZoomVideoSDKErrors.Errors_Invalid_Parameter)

---

<div class="post-metadata">

**Author:** ![anawilliam850](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/anawilliam850/32/33827_2.png) [@anawilliam850](https://devforum.zoom.us/u/anawilliam850)\
**Post date:** [December 23, 2022, 11:02pm UTC](https://devforum.zoom.us/t/create-seesion-and-got-error-1509/80445/7 "2022-12-23T23:02:32Z")

</div>

thank you all for your response, i will use this!
