# Logging in in-meeting does not update the Zoom SDK context, causing config calls to fail

**URL:** <https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581>\
**Category:** Zoom Apps\
**Created:** [December 21, 2022, 11:35am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581 "2022-12-21T11:35:57Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![tayyab](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tayyab/32/33109_2.png) [@tayyab](https://devforum.zoom.us/u/tayyab)\
**Post date:** [December 21, 2022, 11:35am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/1 "2022-12-21T11:35:57Z")

</div>

**Zoom Apps Configuration**  
React App, leveraging the Zoom SDK to fetch user context.

**Description**  
If a meeting is started without a logged-in user, and if the log in is then initiated from inside the meeting in the apps tab, the Zoom SDK does not pick up the right roles for the newly authenticated user. The `zoomSdk.config` call fails with the error below.

**Error?**  
Error message: `Error: No Permission for this API. [code:80012, reason:require_meeting_role]`

**Troubleshooting Routes**  
The user has to leave the meeting and join it again. Some times, even that does not work and the zoom client needs to be restarted.

**How To Reproduce**  
Please see [this](https://www.loom.com/share/ab5e679ffcdc48aabcd525cb0651caf9) loom for a walkthrough of how the issue is reproduced.

---

<div class="post-metadata">

**Author:** ![narmadaravali](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/narmadaravali/32/39496_2.png) [@narmadaravali](https://devforum.zoom.us/u/narmadaravali)\
**Post date:** [December 21, 2022, 8:41pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/2 "2022-12-21T20:41:29Z")

</div>

Hi, we were not able to reproduce the issue on client v5.12.2. Could you tell us your client version?

---

<div class="post-metadata">

**Author:** ![tayyab](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tayyab/32/33109_2.png) [@tayyab](https://devforum.zoom.us/u/tayyab)\
**Post date:** [December 22, 2022, 5:41am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/3 "2022-12-22T05:41:02Z")

</div>

This is the client version: 5.12.2 (11434)

Several people from within the org have had this issue. It was caught in a customer demo of our app so this is revenue impacting for us.

---

<div class="post-metadata">

**Author:** ![tayyab](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tayyab/32/33109_2.png) [@tayyab](https://devforum.zoom.us/u/tayyab)\
**Post date:** [December 22, 2022, 5:41am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/4 "2022-12-22T05:41:37Z")

</div>

There are times when the issue does not occur, but I’ve been able to reproduce it 80% of the time with steps in the loom.

---

<div class="post-metadata">

**Author:** ![ash.provost](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ash.provost/32/36610_2.png) [@ash.provost](https://devforum.zoom.us/u/ash.provost)\
**Post date:** [December 27, 2022, 5:33pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/5 "2022-12-27T17:33:37Z")

</div>

Do you have further details beyond client version like OS and OS version?

We attempted reproduction using the same client version and logging in via gmail.

---

<div class="post-metadata">

**Author:** ![peter3](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/peter3/32/44128_2.png) [@peter3](https://devforum.zoom.us/u/peter3)\
**Post date:** [February 15, 2023, 1:52am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/6 "2023-02-15T01:52:41Z")

</div>

Hi, is there any update? I got same problem and error `require_meeting_role` when I call the `getMeetingContext()` in a meeting that I don’t host.

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [February 27, 2023, 7:45pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/7 "2023-02-27T19:45:47Z")

</div>

When it comes to calling getMeetingContext, you’ll want to be the host or co-host of a meeting. However, you can call getMeetingUUID as any user within the meeting.

As for the issues with the meeting context updating after logging in, are you still seeing this with the latest version of the Zoom client? (5.13.10)

---

<div class="post-metadata">

**Author:** ![reyaz.ahmed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@reyaz.ahmed](https://devforum.zoom.us/u/reyaz.ahmed)\
**Post date:** [September 7, 2023, 5:43pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/8 "2023-09-07T17:43:33Z")

</div>

@tayyab Did you find solution for this issue? I am facing same problem. please let me know.

---

<div class="post-metadata">

**Author:** ![reyaz.ahmed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@reyaz.ahmed](https://devforum.zoom.us/u/reyaz.ahmed)\
**Post date:** [September 7, 2023, 5:46pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/9 "2023-09-07T17:46:19Z")

</div>

@MaxM Is there any zoom app sdk function like getMeetingContext which provides MeetingID to any user/participant who join the meeting instead of just for Host/Co-host.

---

<div class="post-metadata">

**Author:** ![hritik.a](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/hritik.a/32/49271_2.png) [@hritik.a](https://devforum.zoom.us/u/hritik.a)\
**Post date:** [December 1, 2023, 6:57am UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/10 "2023-12-01T06:57:57Z")

</div>

@MaxM Is there any update on this topic, I am in a similar situation where participants need to access the meetingID but getMeetingContext and getMeetingJoinUrl are only available for host/co-host.

Even if I get the meetingUUID using getMeetingUUID, it’s not much of help in fetching the meetingID of host’s meeting. Please let me know of any updates. Thanks.

---

<div class="post-metadata">

**Author:** ![asadrafi600](https://avatars.discourse-cdn.com/v4/letter/a/b5a626/32.png) [@asadrafi600](https://devforum.zoom.us/u/asadrafi600)\
**Post date:** [December 22, 2023, 3:40pm UTC](https://devforum.zoom.us/t/logging-in-in-meeting-does-not-update-the-zoom-sdk-context-causing-config-calls-to-fail/80581/11 "2023-12-22T15:40:58Z")

</div>

Thanks for sharing this valuable information. One of the blogger on [the](https://mlinjectors.com) team is working on reproducing this possible bug. Hope we can find the solution.
