# API Call to Create a Meeting Link returning "code": -1

**URL:** <https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140>\
**Category:** API and Webhooks\
**Created:** [March 30, 2020, 10:37am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140 "2020-03-30T10:37:20Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cheng/32/3246_2.png) [@cheng](https://devforum.zoom.us/u/cheng)\
**Post date:** [March 30, 2020, 10:37am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/1 "2020-03-30T10:37:20Z")

</div>

**Description**  
When making an API call to generate a Zoom meeting link, received the below error. Worked on a second try.

**Error**  
Error message from API call: {“code”:-1,“message”:“Duplicate entry ‘535089954’ for key ‘meeting\_number’”}

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
OAuth

**Which Endpoint/s?**  
[https://api.zoom.us/v2/users/me/meetings](https://api.zoom.us/v2/users/me/meetings)

**How To Reproduce (If applicable)**  
Not Applicable

**Screenshots (If applicable)**  
Not Applicable

**Additional context**  
None

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 31, 2020, 3:53am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/2 "2020-03-31T03:53:25Z")

</div>

Hey @cheng,

Can you please share your full request body?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![cheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cheng/32/3246_2.png) [@cheng](https://devforum.zoom.us/u/cheng)\
**Post date:** [March 31, 2020, 4:06am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/3 "2020-03-31T04:06:59Z")

</div>

Hi @tommy,

There you go.

```
{
  "topic": "How to successfully run online classes using Zoom!",
  "type": "2",
  "start_time": "2020-03-30T23:00:00Z",
  "duration": "60",
  "timezone": "UTC",
  "password": "2B3HKHjJ",
  "agenda": "Tue, 31 Mar 10:00AM - 11:00AM",
  "settings": {
    "host_video": "false",
    "participant_video": "false",
    "cn_meeting": "false",
    "in_meeting": "false",
    "join_before_host": "true",
    "mute_upon_entry": "true",
    "watermark": "true",
    "use_pmi": "false",
    "approval_type": "2",
    "audio": "both",
    "auto_recording": "none",
    "enforce_login": "false",
    "waiting_room": "false"
  }
}
```

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [March 31, 2020, 6:57am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/4 "2020-03-31T06:57:48Z")

</div>

Thanks @cheng,

We are looking into this error and will get back to you. (ZOOM-148074)

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 1, 2020, 4:46pm UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/5 "2020-04-01T16:46:24Z")

</div>

Hey @cheng,

This was an issue on our end. It should be working now, can you please try again?

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![cheng](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/cheng/32/3246_2.png) [@cheng](https://devforum.zoom.us/u/cheng)\
**Post date:** [April 2, 2020, 12:01am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/6 "2020-04-02T00:01:04Z")

</div>

Cool, can confirm it’s working fine for us now.  
Thank you @tommy

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 2, 2020, 7:48am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/7 "2020-04-02T07:48:15Z")

</div>

Happy to hear! 🙂

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![abhishek.jain14331](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/abhishek.jain14331/32/5037_2.png) [@abhishek.jain14331](https://devforum.zoom.us/u/abhishek.jain14331)\
**Post date:** [April 6, 2020, 6:35pm UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/8 "2020-04-06T18:35:59Z")

</div>

hi tommy,

we also facing this issue very frequently, our users are being affected by it very badly. we want to get it resolved asap. We are also facing some “connection-reset” and “invalid access-token” issues in the api.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [April 7, 2020, 5:20am UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/9 "2020-04-07T05:20:20Z")

</div>

Hey @abhishek.jain14331,

Can you please share your request url, request body, and response body so I can take a look at the logs?

Thanks,  
Tommy

---

<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:16pm UTC](https://devforum.zoom.us/t/api-call-to-create-a-meeting-link-returning-code-1/10140/10 "2020-08-21T20:16:41Z")

</div>


