# How to hide the error prompts in customized UI?

**URL:** <https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404>\
**Category:** Android\
**Created:** [August 25, 2021, 7:59am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404 "2021-08-25T07:59:28Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinxiao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kevinxiao/32/25205_2.png) [@kevinxiao](https://devforum.zoom.us/u/kevinxiao)\
**Post date:** [August 25, 2021, 7:59am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/1 "2021-08-25T07:59:28Z")

</div>

**Description**  
When use customized UI, encountered cases that the error prompts like below were shown  
 ![prompt_1](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/5/2/521fa30a5e12533f74378e1cca37287fbaa5ef5a.png)  
 ![prompt_2](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/d/6/d6071431cda072b05461c6bd4834797b044a94e4.png)

Anyway to hide them?

**Which Android Meeting SDK version?**  
v5.5.1.1319, v5.7.1.1267

Thanks

---

<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:** [August 25, 2021, 9:01pm UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/2 "2021-08-25T21:01:09Z")

</div>

Hi @kevinxiao, thanks for the post.

Are you able to reproduce this in the sample app? I am not seeing either of these dialogs appear in the sample app under the conditions that would normally trigger them. If you can, please provide steps to reproduce so that we can investigate further.

Thanks!

---

<div class="post-metadata">

**Author:** ![kevinxiao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kevinxiao/32/25205_2.png) [@kevinxiao](https://devforum.zoom.us/u/kevinxiao)\
**Post date:** [August 26, 2021, 8:07am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/3 "2021-08-26T08:07:53Z")

</div>

> [@jon.zoom](#):
>
> Are you able to reproduce this in the sample app? I am not seeing either of these dialogs appear in the sample app under the conditions that would normally trigger them. If you can, please provide steps to reproduce so that we can investigate further.

hello @jon.zoom

Please try below steps:

1. schedule a meeting via API `POST /users/{userId}/meetings`
2. in sample app, update `MyMeetingActivity#onMeetingLeaveComplete`, comment out/remove below codes to keep the activity

```auto
        if (!mMeetingFailed)
            finish();

```

1. launch the sample app, enable `Customized UI` in `Settings`
2. tap `API User`, input values then tap `Start this Meeting`
3. after joined the meeting in app,  
call API `PUT /meetings/{meetingId}/status` to end the meeting  
call API `DELETE /meetings/{meetingId}` to delete the meeting

You may see the “Can’t connet to our service, please check…” in sampe app during step 5

Additional, I found in above case, the value passed to `onMeetingLeaveComplete` is 7 when using SDK v5.7.1,  
and it is 6 when using SDK v5.2.42043.1112

Thanks

---

<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:** [August 26, 2021, 10:31pm UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/4 "2021-08-26T22:31:52Z")

</div>

Hi @kevinxiao,

Thanks for providing the steps to reproduce. It does appear that there is something going on with dialogs displaying incorrectly while custom UI mode is enabled. We will investigate this and let you know as soon as we have any updates.

In the meantime, it seems that the [`no_meeting_end_message`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingOptions.html#no_meeting_end_message) field being set to `true` does prevent this dialog from appearing in the scenarios I tested. This could serve as a workaround as we are looking into this on our end.

Thanks!

---

<div class="post-metadata">

**Author:** ![kevinxiao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kevinxiao/32/25205_2.png) [@kevinxiao](https://devforum.zoom.us/u/kevinxiao)\
**Post date:** [August 27, 2021, 2:59am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/5 "2021-08-27T02:59:31Z")

</div>

> [@jon.zoom](#):
>
> In the meantime, it seems that the [`no_meeting_end_message`](https://marketplacefront.zoom.us/sdk/meeting/android/us/zoom/sdk/MeetingOptions.html#no_meeting_end_message) field being set to `true` does prevent this dialog from appearing in the scenarios I tested. This could serve as a workaround as we are looking into this on our end.

hello @jon.zoom

tried several times and seems it works, thank you.

additional question: what does `no_meeting_error_message` work for? couldn’t find detail description in SDK reference…

Thanks.

---

<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:** [August 27, 2021, 6:32pm UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/6 "2021-08-27T18:32:57Z")

</div>

Hi @kevinxiao,

Glad to hear that’s working! I do want to emphasize that this should not be necessary when using custom UI mode and we are working on a fix so that it is only required when using the default UI.

> additional question: what does `no_meeting_error_message` work for? couldn’t find detail description in SDK reference…

This would hide the error dialog that appears in some scenarios. For example, if you were suddenly disconnected from a meeting due to lack of network connectivity, enabling this would result in that dialog not being shown. Since you are using a custom meeting UI, the options available through `MeetingOptions` usually do not apply though.

Thanks!

---

<div class="post-metadata">

**Author:** ![kevinxiao](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/kevinxiao/32/25205_2.png) [@kevinxiao](https://devforum.zoom.us/u/kevinxiao)\
**Post date:** [September 23, 2021, 3:45am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/7 "2021-09-23T03:45:17Z")

</div>

hello @jon.zoom

verified the fix in v5.7.1.1268, thx

---

<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:** [September 23, 2021, 4:38pm UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/8 "2021-09-23T16:38:15Z")

</div>

Glad to hear it’s working now, thanks for confirming!

---

<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:** [October 24, 2021, 2:39am UTC](https://devforum.zoom.us/t/how-to-hide-the-error-prompts-in-customized-ui/56404/9 "2021-10-24T02:39:12Z")

</div>

Closed on October 24, 2021, 2:39am UTC

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