# Alert message when trying to join a meeting say invalid meeting ID

**URL:** <https://devforum.zoom.us/t/alert-message-when-trying-to-join-a-meeting-say-invalid-meeting-id/7719>\
**Category:** iOS\
**Created:** [January 27, 2020, 3:06pm UTC](https://devforum.zoom.us/t/alert-message-when-trying-to-join-a-meeting-say-invalid-meeting-id/7719 "2020-01-27T15:06:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![unc93](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/unc93/32/3027_2.png) [@unc93](https://devforum.zoom.us/u/unc93)\
**Post date:** [January 27, 2020, 3:06pm UTC](https://devforum.zoom.us/t/alert-message-when-trying-to-join-a-meeting-say-invalid-meeting-id/7719/1 "2020-01-27T15:06:52Z")

</div>

Integrating into a new app and using Swift getting Alert message when trying to join a meeting.

Alert message: “This meeting ID is not valid. Please check and try again.”

I have verified the meeting ID and it is for a valid meeting:

Here is the code used to call the meeting:

```auto
 if (service != nil)
        {
            service!.delegate = self;
            // initialize a parameter dictionary to store parameters.
            let paramDict = [
                kMeetingParam_Username: "someUser",
                kMeetingParam_MeetingNumber:" *******"]
            
            zoomSDK?.setMobileRTCRootController(self.navigationController)
            let response = service?.joinMeeting(with: paramDict as [AnyHashable:Any])

```

Testing on:  
-Xcode 10

- Device: iPhone7
- OS: iOS
- Version12.4

---

<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:** [January 29, 2020, 1:04am UTC](https://devforum.zoom.us/t/alert-message-when-trying-to-join-a-meeting-say-invalid-meeting-id/7719/2 "2020-01-29T01:04:15Z")

</div>

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

Thanks for the post. Normally the error “This meeting ID is not valid” appears when the meeting ID is not yet valid(For example, starting a meeting too soon or right after sending the schedule meeting request) or when the meeting ID is not able to parse. I am able to join a meeting with the similar parameters that you are having, here is the code snippet that I am using:

```auto
let meetingService = MobileRTC.shared().getMeetingService();
        
        if (meetingService != nil) {
            let paramDict: [String : Any] = [
                kMeetingParam_Username: "Zoom Swift Test",
                kMeetingParam_MeetingNumber: "Meeting Number here",
                kMeetingParam_MeetingPassword: "",
                kMeetingParam_NoAudio: false,
                kMeetingParam_NoVideo: false
            ];
            
            _ = meetingService?.joinMeeting(with: paramDict);

```

Please have a try and hope it helps. 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, 7:13pm UTC](https://devforum.zoom.us/t/alert-message-when-trying-to-join-a-meeting-say-invalid-meeting-id/7719/3 "2020-08-21T19:13:25Z")

</div>

Closed on August 21, 2020, 7:13pm UTC


