# URGENT: SDK Auth failing in production

**URL:** <https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959>\
**Category:** iOS\
**Created:** [November 17, 2022, 4:57pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959 "2022-11-17T16:57:32Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 4:57pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/1 "2022-11-17T16:57:32Z")

</div>

**Description**  
Up until today our SDK auth (`sdkAuth()`) was working fine using `clientKey` and `clientSecret`. Today it is failing with the error keyOrSecretWrong. We have not changed _anything_ on our end. This happened once in the past and we never found out why, but we were able to fix it by regenerating our client secret. Today, not even that solution is working so our app is completely broken for our users. Please get in touch so we can get this resolved as soon as possible.

**Which iOS Meeting SDK version?**  
5.12.2 (4959)

**To Reproduce(If applicable)**  
Steps to reproduce the behavior:

1. Call sdkAuth() with the given clientKey and clientSecret

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

- Device: All
- OS: tested on iOS 16, but assuming this is everywhere

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 17, 2022, 6:14pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/2 "2022-11-17T18:14:10Z")

</div>

@jeremy.provost,

Sorry to hear about the behavior you are seeing with iOS SDK. Are you still seeing the same behavior? If so, to rule out the `clientKey` and `clientSecret`, can you use the sample IOS app to test if the credentials are working as expected? This will help isolate the root cause of the behavior you are seeing.

Let me know if you have any questions about this.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 6:20pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/3 "2022-11-17T18:20:16Z")

</div>

I have already validated that it is the `clientKey` and `clientSecret` causing the issue. We have a key/secret from another account and that works fine with the exact same code. Again, this code has been working for about 2 years and nothing changed except that this morning it started returning this error. To rule it out, I have also tried with `jwtToken` and that fails with `tokenWrong`. Has something happened to our Zoom app/account?

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 17, 2022, 6:29pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/4 "2022-11-17T18:29:26Z")

</div>

@jeremy.provost ,

That is strange, has anyone regenerated the `clientSecret` ? Also, are you using the `clientKey` and `clientSecret` from the Meeting SDK Marketplace APP type?

# Create a Meeting SDK App

[https://marketplace.zoom.us/docs/guides/build/sdk-app/](https://marketplace.zoom.us/docs/guides/build/sdk-app/)

> [@jeremy.provost](#):
>
> To rule it out, I have also tried with `jwtToken` and that fails with `tokenWrong`. Has something happened to our Zoom app/account?

I wouldn’t expect the JWT token to work as iOS meeting SDK leverages SDK JWT token.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 6:31pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/5 "2022-11-17T18:31:36Z")

</div>

No one had regenerated the `clientSecret`. I validated that before anything else. Based on the one time this happened in the past, I then proceeded to regenerate but I get the same result with the regenerated `clientSecret`. Yes, this is a Meeting SDK app that has been approved in the Marketplace. I’m happy to share more details if you want to DM or email.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 17, 2022, 6:43pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/6 "2022-11-17T18:43:32Z")

</div>

Now that we understand the problem seems related to that specific Marketplace Meeting SDK app, I’d suggest submitting a support ticket. You can submit a support ticket by filling out the form [here](https://zoom.us/zendesk/sso?return_to=https://support.zoom.us/hc/requests/new?ticket_form_id=360000996591). Be to include any device and crash logs you seeing produced to help expedite the triage process.

## Enable iOS Log Feature

[https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization/#log-feature](https://marketplace.zoom.us/docs/sdk/native-sdks/iOS/mastering-zoom-sdk/sdk-initialization/#log-feature)

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 6:46pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/7 "2022-11-17T18:46:37Z")

</div>

I opened a ticket there about 2 hours ago but I haven’t heard anything back. It’s #15903289 if you could have someone take a look please. We’re in a really bad spot right now. Thank you.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 6:53pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/8 "2022-11-17T18:53:05Z")

</div>

I have just uploaded a log file to the ticket as well.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 17, 2022, 7:00pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/9 "2022-11-17T19:00:52Z")

</div>

@jeremy.provost ,  
The ticket should be auto-assigned to a support agent. I will keep eye on it and have someone take a look if it is not picked up.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 17, 2022, 9:29pm UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/10 "2022-11-17T21:29:52Z")

</div>

I still haven’t heard anything. Is there any way to escalate this?

---

<div class="post-metadata">

**Author:** ![uzir.thapa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uzir.thapa/32/43003_2.png) [@uzir.thapa](https://devforum.zoom.us/u/uzir.thapa)\
**Post date:** [November 18, 2022, 12:48am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/11 "2022-11-18T00:48:57Z")

</div>

We are getting a similar issue where the init is returning 1 instead of 0 for ios SDK. We are running 5.12 for sdk version

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 18, 2022, 12:50am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/12 "2022-11-18T00:50:14Z")

</div>

I’m really sorry to hear that, but at least we know we are not alone. Did it just start over the past day for you as well?

---

<div class="post-metadata">

**Author:** ![uzir.thapa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uzir.thapa/32/43003_2.png) [@uzir.thapa](https://devforum.zoom.us/u/uzir.thapa)\
**Post date:** [November 18, 2022, 12:52am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/13 "2022-11-18T00:52:26Z")

</div>

yes, we upgraded to v5.12 last night and got it working but today we can’t seem to get the zoom meeting to start. We are using jwtToken to authenticate.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 18, 2022, 12:54am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/14 "2022-11-18T00:54:35Z")

</div>

We are on the latest SDK (v5.12.2.4959). We have tried going back to the previous SDK (v5.12.0.4903) and that didn’t make a difference. We had been running successfully with the latest SDK since it was released.

---

<div class="post-metadata">

**Author:** ![uzir.thapa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uzir.thapa/32/43003_2.png) [@uzir.thapa](https://devforum.zoom.us/u/uzir.thapa)\
**Post date:** [November 18, 2022, 1:08am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/15 "2022-11-18T01:08:35Z")

</div>

Thanks Jeremy for letting us know about your issue as well. Please let us know if you find a solution. We will do the same. In the meantime, I think we might be switching to something a bit more stable than zoom.

---

<div class="post-metadata">

**Author:** ![bluedomain](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@bluedomain](https://devforum.zoom.us/u/bluedomain)\
**Post date:** [November 18, 2022, 1:29am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/16 "2022-11-18T01:29:11Z")

</div>

Any fix for this issue? We have been suffering with this issue since last Monday. Thank you.

---

<div class="post-metadata">

**Author:** ![eugenem](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/eugenem/32/39086_2.png) [@eugenem](https://devforum.zoom.us/u/eugenem)\
**Post date:** [November 18, 2022, 1:41am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/17 "2022-11-18T01:41:11Z")

</div>

Our app is not affected, but seeing this kind of posts definitely doesn’t bolster my confidence

---

<div class="post-metadata">

**Author:** ![uzir.thapa](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/uzir.thapa/32/43003_2.png) [@uzir.thapa](https://devforum.zoom.us/u/uzir.thapa)\
**Post date:** [November 18, 2022, 1:43am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/19 "2022-11-18T01:43:23Z")

</div>

Eugene, Area you using [zoom.us](http://zoom.us/) as domain or a registered domain. Thats the only thing I can think of that would be different.

---

<div class="post-metadata">

**Author:** ![jeremy.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jeremy.provost/32/12182_2.png) [@jeremy.provost](https://devforum.zoom.us/u/jeremy.provost)\
**Post date:** [November 18, 2022, 1:55am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/20 "2022-11-18T01:55:22Z")

</div>

We are using [zoom.us](http://zoom.us). We’ve never used anything else.

For some reason we can put any random domain in there and auth will succeed, but then joining meetings doesn’t work.

---

<div class="post-metadata">

**Author:** ![donte.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/donte.zoom/32/24412_2.png) [@donte.zoom](https://devforum.zoom.us/u/donte.zoom)\
**Post date:** [November 18, 2022, 2:07am UTC](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959/21 "2022-11-18T02:07:17Z")

</div>

@bluedomain and @uzir.thapa ,

Happy to help have this issue investigated. Can you open a support ticket and include the following information :

- Account number
- SDK key
- An SDK log that has this issue
- Developer Email Address:

After submitting the ticket, please share the ticket numbers here.

[Next page](https://devforum.zoom.us/t/urgent-sdk-auth-failing-in-production/78959.md?page=2)
