# getCurrentMeetingUrl() returning null

**URL:** <https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082>\
**Category:** Android\
**Created:** [May 26, 2021, 11:32am UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082 "2021-05-26T11:32:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikithabagalkoti](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nikithabagalkoti/32/27545_2.png) [@nikithabagalkoti](https://devforum.zoom.us/u/nikithabagalkoti)\
**Post date:** [May 26, 2021, 11:32am UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/1 "2021-05-26T11:32:20Z")

</div>

**Description**  
After starting the instant meeting with email login, ZoomSDK.getInstance().getInMeetingService().getCurrentMeetingUrl(); is returning null always. I tried with the sample app and it returns null.

**Which Android Client SDK version?**  
v5.5.1.1319

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

- Device: Pixel 4
- OS: Android 10

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 26, 2021, 5:19pm UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/2 "2021-05-26T17:19:16Z")

</div>

Hi @nikithabagalkoti, thanks for using our SDK.

Can you please verify when you are trying to retrieve the URL? If it is immediately after attempting to join/start a meeting, it will be null as there are some asynchronous operations which must be carried out before it can be accessed.

Thanks!

---

<div class="post-metadata">

**Author:** ![nikithabagalkoti](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nikithabagalkoti/32/27545_2.png) [@nikithabagalkoti](https://devforum.zoom.us/u/nikithabagalkoti)\
**Post date:** [May 27, 2021, 2:12am UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/3 "2021-05-27T02:12:31Z")

</div>

Thanks a lot!  
Yes, i am trying to retrieve after starting the meeting. Is there a callback or listener i can add for startMeeting? When startInstantMeeting is called, zoom video call starts. When & where it should be retrieved?

TIA.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 27, 2021, 3:48pm UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/4 "2021-05-27T15:48:24Z")

</div>

Hi @nikithabagalkoti,

Yes, there is a callback that can be used to inform you of any updates related to the status of the meeting you are starting. Before calling startMeeting, you should create and assign a `MeetingServiceListener` instance through [`MeetingService#addListener`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingService.html#addListener-us.zoom.sdk.MeetingServiceListener-). Through this listener, you should receive a callback containing a status of `MEETING_STATUS_INMEETING` before attempting to access any of the meeting details.

Thanks!

---

<div class="post-metadata">

**Author:** ![nikithabagalkoti](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/nikithabagalkoti/32/27545_2.png) [@nikithabagalkoti](https://devforum.zoom.us/u/nikithabagalkoti)\
**Post date:** [May 28, 2021, 1:28pm UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/6 "2021-05-28T13:28:25Z")

</div>

You are the lifesaver. Thanks for the help!  
I used the listener after starting the meeting.

meetingService.startInstantMeeting(context, options);  
if(result == MeetingError.MEETING\_ERROR\_SUCCESS)  
ZoomSDK.getInstance().getMeetingService().addListener(meetingServiceListener);  
private MeetingServiceListener meetingServiceListener = new MeetingServiceListener(){

```
            @Override
            public void onMeetingStatusChanged(MeetingStatus meetingStatus, int i, int i1) {
                    if(meetingStatus == meetingStatus.MEETING_STATUS_INMEETING)
                            meetingUrl = ZoomSDK.getInstance().getInMeetingService().getCurrentMeetingUrl();
            }
    };
```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [May 28, 2021, 5:32pm UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/7 "2021-05-28T17:32:43Z")

</div>

That’s great to hear that it’s working, glad I was able to help! 🙂

---

<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:** [June 28, 2021, 3:32am UTC](https://devforum.zoom.us/t/getcurrentmeetingurl-returning-null/51082/8 "2021-06-28T03:32:52Z")

</div>

Closed on June 28, 2021, 3:32am UTC

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