# SDK Error: 5 internalErrorCode: 124

**URL:** <https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152>\
**Category:** Android\
**Created:** [August 12, 2022, 6:53pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152 "2022-08-12T18:53:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mikkimichaelis/32/50247_2.png) [@mikkimichaelis](https://devforum.zoom.us/u/mikkimichaelis)\
**Post date:** [August 12, 2022, 6:53pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/1 "2022-08-12T18:53:15Z")

</div>

Please, somebody help me…

Android Meeting SDK v5.11.3.9091

Using [GitHub - zoom/meetingsdk-sample-signature-node.js: Generate a signature to Start and Join Meetings and Webinars with the Zoom Meeting SDKs.](https://github.com/zoom/meetingsdk-sample-signature-node.js) to generate JWT

.env  
ZOOM\_SDK\_KEY=SSu3dBFMX5Qz7xp\*\*\*\*\*\*\*\*  
ZOOM\_SDK\_SECRET=kTvTypb42nwAK\*\*\*\*\*\*\*\*\*

Postman POST localhost:4000  
Body  
{  
“meetingNumber”: “5868415858”,  
“role”: 0  
}

Response  
{  
“signature”: “[REDACTED]”  
}

sdk/sample/AuthConstants.java

public final static String SDK\_JWTTOKEN = “”[REDACTED]";

Run sample produces  
Error: 5  
internalErrorCode: 124

I have regenerated my SDK Secret

Thank you for any help

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [August 12, 2022, 9:56pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/2 "2022-08-12T21:56:22Z")

</div>

I have no solution, but your signature looks good (decoded base64)

```auto
{"alg":"HS256","typ":"JWT"}
{
  "sdkKey":"[REDACTED]",
  "mn":"5868415858",
  "role":0,
  "iat":1660329547, -> Friday, 12 August 2022 18:39:07
  "exp":1660336747, -> Friday, 12 August 2022 20:39:07
  "appKey":"SSu3dBFMX5Qz7xp3SBwcyDkZByQ5uMlz6s874",
  "tokenExp":1660336747 -> Friday, 12 August 2022 20:39:07
}

```

it’s the correct version for SDK JWT

the error then lies rather with the init of the meeting, do you use the **SDK** JWT there?  
I know the web api and there you can choose between SDK JWT Signature and JWT Signature.

* * *

have a look - same error message - there was the “solution” cors header ??? strange

> [@Code: 124, message: 'Invalid access token.' Error](https://devforum.zoom.us/t/code-124-message-invalid-access-token-error/73893):
>
> Scoured through the devforum but couldn’t solve my issue. Meeting SDK Type and Version Web Meeting SDK, JWT App, Account-level app. Description I’m developing a simple app to create a meeting using the zoom api const url = “[https://api.zoom.us/v2/users/{userid}/meetings](https://api.zoom.us/v2/users/%7Buserid%7D/meetings)”. I have passed in the body and header as follows: const data = { “agenda”: “My Meeting”, “default\_password”: false, “duration”: 60, “password”: “123456”, “pre\_schedule”: false } const params = { …

Jürgen

---

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mikkimichaelis/32/50247_2.png) [@mikkimichaelis](https://devforum.zoom.us/u/mikkimichaelis)\
**Post date:** [August 15, 2022, 4:16pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/3 "2022-08-15T16:16:41Z")

</div>

Jürgen,

Thank you for confirmation of the JWT. The code that produces this error is the mobilertc-android-studio sample v5.11.3.9091.

I am at a loss how zoom can supply a sample sdk app that produces this error without a forum solution. Please help me better understand the next step to utilize the android SDK.

Thank you so much,  
Mikki

---

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mikkimichaelis/32/50247_2.png) [@mikkimichaelis](https://devforum.zoom.us/u/mikkimichaelis)\
**Post date:** [August 15, 2022, 4:51pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/4 "2022-08-15T16:51:59Z")

</div>

I was using the SDK Key and SDK Secret from my SDK App. I instead tried using the API Key and API Secret from my JWT App. The new JWT when used with the SDK sample app produces the same Error: 5 / 124.

---

<div class="post-metadata">

**Author:** ![mikkimichaelis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/mikkimichaelis/32/50247_2.png) [@mikkimichaelis](https://devforum.zoom.us/u/mikkimichaelis)\
**Post date:** [August 15, 2022, 5:22pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/5 "2022-08-15T17:22:45Z")

</div>

I decided to start completely over and created a new zoom account and created a new Marketplace SDK app. Using the new SDK Key/Secret the error 5/124 has been eliminated. Great, it was personal. Anyway, I am now able to init the sdk but trying to join a meeting I am prompted for the meeting password for meetings that do not have passwords. I have previously detailed this issue here

> [@Android Meeting SDK sample app](https://devforum.zoom.us/t/android-meeting-sdk-sample-app/71968):
>
> I have downloaded the latest Android Meeting SDK from Marketplace and opened it in Android Studio. I have properly generated a SDK JDK Token and when running the ‘sample’ app the SDK is initialized successfully. When I try to join a meeting by entering a valid meeting id / name into the UI, the SDK attempts to join the meeting, then prompts for a meeting password. There is no meeting password. I have tried several meetings that do not have passwords, yet the sample app persists in prompting …

---

<div class="post-metadata">

**Author:** ![j.schoenemeyer](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@j.schoenemeyer](https://devforum.zoom.us/u/j.schoenemeyer)\
**Post date:** [August 16, 2022, 5:41am UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/6 "2022-08-16T05:41:46Z")

</div>

create a new simple test meeting

- Registration NOT required
- a simple Passcode
- no waiting room
- Options: Allow participants to join anytime

you can use it endless - if you don’t use it some (???) weeks, it will automaticly deleted from your zoom account

Jürgen

---

<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:** [August 16, 2022, 5:12pm UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/7 "2022-08-16T17:12:16Z")

</div>

@mikkimichaelis,

Sounds like you may be encountering one of the edge cases listed here :

> **[Zoom Developer Docs](https://marketplace.zoom.us/docs/api-reference/other-references/meeting-api-security-enhancements/)**
>
> The Zoom Developer Platform is an open platform that allows third-party developers to build applications and integrations upon Zoom’s video-first unified communications platform.

Please double-check the meeting configuration is as expected.

---

<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:** [September 16, 2022, 3:13am UTC](https://devforum.zoom.us/t/sdk-error-5-internalerrorcode-124/74152/8 "2022-09-16T03:13:10Z")

</div>

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