# Receiving error code 11 in authentication

**URL:** <https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677>\
**Category:** iOS\
**Created:** [September 20, 2021, 6:23am UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677 "2021-09-20T06:23:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nirmitdagly](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nirmitdagly/32/31193_2.png) [@nirmitdagly](https://devforum.zoom.us/u/nirmitdagly)\
**Post date:** [September 20, 2021, 6:23am UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677/1 "2021-09-20T06:23:03Z")

</div>

**Description**  
I am receiving error code 11 constantly in authenticating iOS SDK while running the sample code

**Which iOS Meeting SDK version?**  
v5.7.1.645

**Smartphone (please complete the following information):**

- Device: iPad
- OS: iOS 14.7.1

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 20, 2021, 9:24pm UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677/2 "2021-09-20T21:24:24Z")

</div>

Hey @nirmitdagly,

Thanks for using the dev forum!

This error comes from using an invalid JWT token. Can you check out this tutorial of how to make a sample JWT?

[https://devsupport.zoom.us/hc/en-us/articles/360059893552-How-to-create-a-sample-JWT-for-the-Client-SDK](https://devsupport.zoom.us/hc/en-us/articles/360059893552-How-to-create-a-sample-JWT-for-the-Client-SDK)

Thanks!  
Michael

---

<div class="post-metadata">

**Author:** ![nirmitdagly](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nirmitdagly/32/31193_2.png) [@nirmitdagly](https://devforum.zoom.us/u/nirmitdagly)\
**Post date:** [September 20, 2021, 11:51pm UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677/3 "2021-09-20T23:51:29Z")

</div>

Thanks @Michael_Condon for your response.

I am able to resolve the error, and SDK authentication is getting successful now. I was using different date and time format in generating JWT token, and that was the issue.

However, I have a question here regarding the same. Currently, I am in a different time zone than the US. So is there any feasibility that I can use my local timezone to generate the JWT token, and it can be used in the SDK?

---

<div class="post-metadata">

**Author:** ![Michael\_Condon](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/michael_condon/32/13543_2.png) [@Michael\_Condon](https://devforum.zoom.us/u/Michael_Condon)\
**Post date:** [September 21, 2021, 10:36pm UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677/4 "2021-09-21T22:36:40Z")

</div>

Hey @nirmitdagly,

Well, the times have to be in epoch format which is agnostic of timezone. So if you used your local time, and then converted it to epoch, it would still work.

Thanks!  
Michael

---

<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:** [October 22, 2021, 8:37am UTC](https://devforum.zoom.us/t/receiving-error-code-11-in-authentication/57677/5 "2021-10-22T08:37:30Z")

</div>

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