# Does InMeetingService.getUserInfoById(someUserId) Need to Be Executed on the Main Thread?

**URL:** <https://devforum.zoom.us/t/does-inmeetingservice-getuserinfobyid-someuserid-need-to-be-executed-on-the-main-thread/119193>\
**Category:** Android\
**Created:** [October 15, 2024, 3:58pm UTC](https://devforum.zoom.us/t/does-inmeetingservice-getuserinfobyid-someuserid-need-to-be-executed-on-the-main-thread/119193 "2024-10-15T15:58:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KAZUMA87](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kazuma87/32/37556_2.png) [@KAZUMA87](https://devforum.zoom.us/u/KAZUMA87)\
**Post date:** [October 15, 2024, 3:58pm UTC](https://devforum.zoom.us/t/does-inmeetingservice-getuserinfobyid-someuserid-need-to-be-executed-on-the-main-thread/119193/1 "2024-10-15T15:58:31Z")

</div>

In previous versions of the MeetingSDK, I didn’t think it was necessary to execute `getUserInfoById()` on the main thread. However, when I attempted to run `getUserInfoById()`, it crashed and displayed an error indicating that it should be executed on the main thread.

I believe that in earlier versions of the MeetingSDK, executing on the main thread was not required. Additionally, the result is not being returned properly. It seems that starting around MeetingSDK version 6.1.5, `null` is being returned, and it doesn’t appear to have been fixed yet.

I tested with MeetingSDK versions 6.1.5 and 6.2.3, and both resulted in the same outcome.

Has anyone else encountered similar issues? Are there any workarounds or solutions available? While fixing this issue would be the most ideal solution, it seems that Zoom is taking a very long time to address it.

---

<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:** [November 15, 2024, 1:58am UTC](https://devforum.zoom.us/t/does-inmeetingservice-getuserinfobyid-someuserid-need-to-be-executed-on-the-main-thread/119193/2 "2024-11-15T01:58:58Z")

</div>

Closed on November 15, 2024, 1:58am UTC

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