# Get error message while integrating zoom meeting api using dot net

**URL:** <https://devforum.zoom.us/t/get-error-message-while-integrating-zoom-meeting-api-using-dot-net/15455>\
**Category:** API and Webhooks\
**Created:** [April 29, 2020, 5:29pm UTC](https://devforum.zoom.us/t/get-error-message-while-integrating-zoom-meeting-api-using-dot-net/15455 "2020-04-29T17:29:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbarone](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mbarone](https://devforum.zoom.us/u/mbarone)\
**Post date:** [April 29, 2020, 5:29pm UTC](https://devforum.zoom.us/t/get-error-message-while-integrating-zoom-meeting-api-using-dot-net/15455/1 "2020-04-29T17:29:12Z")

</div>

get error message while integrating zoom meeting api using dot net

**Error**  
The underlying connection was closed: An unexpected error occurred on a send.  
Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host.

**Which App Type (Meeting)?**  
i got this app-[https://api.zoom.us/v2/users/user\_id/meetings](https://www.google.com/url?q=https://api.zoom.us/v2/users/mVgw53PZQMKdBQWQ0-j79w/meetings&sa=D&source=hangouts&ust=1588266923723000&usg=AFQjCNHm_u8FqKJ98Z-s_6rkNO-HaKqBDw)

**Which Endpoint/s?**  
MeetingRequest meeting = new MeetingRequest();  
meeting.start\_time = DateTime.UtcNow;  
meeting.topic = “New Meeting”;  
meeting.type = 2;  
meeting.duration = 1400;  
meeting.timezone = “”;  
[//meeting.password](https://meeting.password) = “123456”;  
meeting.agenda = “New agenda”;  
meeting.settings = new MeetingRequest.Settings();  
meeting.settings.host\_video = true;  
meeting.settings.mute\_upon\_entry = false;  
meeting.settings.audio = “voip”;  
meeting.settings.participant\_video = true;  
meeting.settings.auto\_recording = “Cloud”;  
string json = JsonConvert.SerializeObject(meeting);  
request.Headers.Add(“authorization”, authorization);  
request.Method = “Post”;  
request.ContentType = “application/json”;  
request.Accept = “application/json”;  
if (request.Method == “POST”)  
{  
var data = Encoding.ASCII.GetBytes(json);  
request.ContentType = “application/json”;  
request.ContentLength = data.Length;

```
           using (var stream = request.GetRequestStream())
           {
               stream.Write(data, 0, data.Length);
           }
       }

```

i got above explained error msg at request.GetRequestStream()

---

<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:** [May 4, 2020, 11:00pm UTC](https://devforum.zoom.us/t/get-error-message-while-integrating-zoom-meeting-api-using-dot-net/15455/2 "2020-05-04T23:00:34Z")

</div>

Hey @mbarone,

This seems like a dot net / server specific issue. Please try googling this error.

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, 9:02pm UTC](https://devforum.zoom.us/t/get-error-message-while-integrating-zoom-meeting-api-using-dot-net/15455/3 "2020-08-21T21:02:47Z")

</div>


