# OTHER ERROR on scheduling a meeting from Android SDK after login

**URL:** <https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803>\
**Category:** Android\
**Created:** [April 3, 2020, 8:03am UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803 "2020-04-03T08:03:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![navneet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/navneet/32/4827_2.png) [@navneet](https://devforum.zoom.us/u/navneet)\
**Post date:** [April 3, 2020, 8:03am UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803/1 "2020-04-03T08:03:14Z")

</div>

**Description**  
I am trying to integrate Android SDK for scheduling a zoom meeting from app only. I am getting OTHER ERROR as response when trying to use PreMeetingService.scheduleMeeting.

**Which version?**  
[v4.6.15086.0209]  
**To Reproduce(If applicable)**  
Steps to reproduce the behavior:’

This is call code

```
   zoomSDK = ZoomSDK.getInstance();
    ZoomSDKInitParams params = new ZoomSDKInitParams();
    params.appKey = ZoomConstants.SDK_KEY;
    params.appSecret = ZoomConstants.SDK_SECRET;
    params.enableLog = true;
    params.logSize = 50;
    zoomSDK.addAuthenticationListener(this);
    zoomSDK.initialize(this, this, params);
    zoomSDK.loginWithZoom("xxxx", "xxxxx");

```

_if (result == ZoomAuthenticationError.ZOOM\_AUTH\_ERROR\_SUCCESS) {_

- 

```
       Toast.makeText(this, "Login successfully", Toast.LENGTH_SHORT).show();*

```

- 

```
       preMeetingService = zoomSDK.getPreMeetingService();*

```

- 

```
       if (ZoomSDK.getInstance().isInitialized()) {*

```

- 

```
           mAccountService = ZoomSDK.getInstance().getAccountService();*

```

- 

```
       }*

```

- 

```
       if (preMeetingService != null) {*

```

- 

```
           MobileRTCDialinCountry availableDialInCountry = ZoomSDK.getInstance().getAccountService().getAvailableDialInCountry();*

```

- 

```
           MeetingItem meetingItem = preMeetingService.createScheduleMeetingItem();*

```

- 

```
           Date timeFrom = new Date(System.currentTimeMillis() + 3600 * 1000);*

```

- 

```
           Date timeTo = new Date(System.currentTimeMillis() + 7200 * 1000);*

```

- 

```
           meetingItem.setMeetingTopic("Yeyy");*

```

- 

```
           meetingItem.setStartTime(timeFrom.getTime());*

```

- 

```
           meetingItem.setDurationInMinutes(30);*

```

- 

```
           meetingItem.setCanJoinBeforeHost(false);*

```

- 

```
           meetingItem.setPassword("");*

```

- 

```
           meetingItem.setHostVideoOff(false);*

```

- 

```
           meetingItem.setAttendeeVideoOff(false);*

```

- 

```
           meetingItem.setAvailableDialinCountry(availableDialInCountry);*

```

- 

```
           meetingItem.setAudioType(MeetingItem.AudioType.AUDIO_TYPE_VOIP);*

```

- 

```
           meetingItem.setTimeZoneId(TimeZone.getDefault().getID());*

```

- 

```
           //meetingItem.setRepeatType(MeetingItem.RepeatType.EveryMonth);*

```

- 

```
           if (preMeetingService != null) {*

```

- 

```
               preMeetingService.addListener(CreateEventActivity.this);*

```

- 

```
               PreMeetingService.ScheduleOrEditMeetingError error = preMeetingService.scheduleMeeting(meetingItem);*

```

- 

```
               if (error == PreMeetingService.ScheduleOrEditMeetingError.SUCCESS) {*

```

- 

```
                   Toast.makeText(CreateEventActivity.this, error.toString(), Toast.LENGTH_LONG).show();*

```

- 

```
               }*

```

- 

```
           } else {*

```

- 

```
               Toast.makeText(CreateEventActivity.this, "User not login.", Toast.LENGTH_LONG).show();*

```

- 

```
               finish();*

```

- 

```
           }*

```

- 

```
       } else {*

```

- 

```
           Log.d("ZOOM", "Failed to schedule meeting");*

```

- 

```
       }*

```

**Screenshots**  
Attaching Error Screenshot

 ![Screenshot 2020-04-03 13.08.33](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/2X/7/7325d5706909a8d06efb078fa3e5176c75c28c3e.png)

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

- Device: Samsung Galaxy M10
- OS: Android
- Version 9

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 4, 2020, 1:20am UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803/2 "2020-04-04T01:20:29Z")

</div>

Hi [navneet](https://devforum.zoom.us/u/navneet),

Thanks for using Zoom SDK. Could you provide the SDK log for us to further investigate? The root cause does not reveal in the code provided.

Thanks!

---

<div class="post-metadata">

**Author:** ![navneet](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/navneet/32/4827_2.png) [@navneet](https://devforum.zoom.us/u/navneet)\
**Post date:** [April 4, 2020, 3:42pm UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803/3 "2020-04-04T15:42:27Z")

</div>

I am unable to attach so sharing the link here:

> **[navneet rastogi sent you 3 items](https://www.dropbox.com/transfer/AAAAAJ6z30kxwYOSUF1B2KeTqTIg2oF20Li-To370ddgGQgyAoCKhHY)**
>
> zSdkApp\_1 (1).log + 2 more items

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [April 6, 2020, 11:04pm UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803/4 "2020-04-06T23:04:36Z")

</div>

Thank you very much for the log files. I have forwarded this to the engineering team for further investigation and will get back to you shortly.

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:19pm UTC](https://devforum.zoom.us/t/other-error-on-scheduling-a-meeting-from-android-sdk-after-login/10803/5 "2020-08-21T20:19:07Z")

</div>

Closed on August 21, 2020, 8:19pm UTC


