OTHER ERROR on scheduling a meeting from Android SDK after login

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

Smartphone (please complete the following information):

  • Device: Samsung Galaxy M10
  • OS: Android
  • Version 9
1 Like

Hi 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!

I am unable to attach so sharing the link here:

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!