# Adding meeting registrant by api, seeing 500 Internal Server Error instead

**URL:** <https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229>\
**Category:** API and Webhooks\
**Created:** [August 4, 2021, 2:06pm UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229 "2021-08-04T14:06:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidlfliang](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@davidlfliang](https://devforum.zoom.us/u/davidlfliang)\
**Post date:** [August 4, 2021, 2:06pm UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229/1 "2021-08-04T14:06:14Z")

</div>

**Description**  
Adding meeting registrant by api, seeing 500 Internal Server Error instead

**Error**  
500 Internal Server Error

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

**Which Endpoint/s?**  
[https://api.zoom.us/v2/meetings/:meetingId/registrants](https://api.zoom.us/v2/meetings/:meetingId/registrants)  
Send the test request through Postman, meetingId is the path variable

Json body  
{  
“email”: “[example@example.com](mailto:example@example.com)”,  
“first\_name”: “Mike”  
}

**Additional context**

- Meeting Registration is enabled on Zoom Portal
- List meeting registrants API is working without problem, but the Adding meeting registrant by APi causes 500 error

---

<div class="post-metadata">

**Author:** ![MaxM](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/maxm/32/42303_2.png) [@MaxM](https://devforum.zoom.us/u/MaxM)\
**Post date:** [August 6, 2021, 12:59am UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229/2 "2021-08-06T00:59:19Z")

</div>

Hey @davidlfliang,

Thank you for reaching out to the Zoom Developer Forum. Does this request work when using another REST client such as cURL?

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![davidlfliang](https://avatars.discourse-cdn.com/v4/letter/d/f08c70/32.png) [@davidlfliang](https://devforum.zoom.us/u/davidlfliang)\
**Post date:** [August 6, 2021, 1:52am UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229/3 "2021-08-06T01:52:35Z")

</div>

Thanks for the reply.

I figured it out by myself. It’s caused by the duplicated content type in headers tab in Postman, I used the Zoom imported collection, then tried the default multipart/form-data, it was not working. Then, I switched to json format, even though I changed the Body to raw and json format in Postman GUI, the multipart/form-data was still somehow in the headers, thus causing the the duplicated content-type header.

Once I removed the multipart/form-data, everything works just fine.

---

<div class="post-metadata">

**Author:** ![will.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/will.zoom/32/14417_2.png) [@will.zoom](https://devforum.zoom.us/u/will.zoom)\
**Post date:** [August 6, 2021, 6:31pm UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229/4 "2021-08-06T18:31:21Z")

</div>

Glad you figured it out! 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [September 6, 2021, 4:31am UTC](https://devforum.zoom.us/t/adding-meeting-registrant-by-api-seeing-500-internal-server-error-instead/55229/5 "2021-09-06T04:31:49Z")

</div>

Closed on September 6, 2021, 4:31am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
