# Unable to create meeting using Zoom API from AWS Lambda function

**URL:** <https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180>\
**Category:** API and Webhooks\
**Created:** [February 12, 2021, 6:26am UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180 "2021-02-12T06:26:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vageesan\_s](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@vageesan\_s](https://devforum.zoom.us/u/vageesan_s)\
**Post date:** [February 12, 2021, 6:26am UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/1 "2021-02-12T06:26:38Z")

</div>

**Description**  
I am working with AWS Amplify, I created REST API which invokes AWS Lambda Function. In the event handler we capture the request body details and make a http GET or POST call to the zoom API and return the response to React UI.

**Error**

The Get method works as expected, it fetches the meeting list based on the user id passed. However, the POST method does not work it neither creates the meeting and no response, Lambda function always enters the catch block and returns empty.

In the UI we receive CORS error.

**Which App Type (OAuth / Chatbot / JWT / Webhook)?**  
We use JWT token for authorization

**Which Endpoint/s?**  
AWS API Gateway is the endpoint we access which invokes Lambda Function.

**How To Reproduce (If applicable)**  
Steps to reproduce the behavior:

1. Create an Amplify Project
2. Add Rest API \> Lambda Function
3. Modify Code and Amplify Push

**Screenshots (If applicable)**  
POST Method returns CORS error

 ![image](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/8/7/87f291a287db3c74908941004c44d607dbe7c557.png) Screenshot 2021-02-12 at 11.53.53 AM

---

<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:** [February 12, 2021, 7:46pm UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/2 "2021-02-12T19:46:01Z")

</div>

Hey @vageesan_s,

Thank you for reaching out to the Zoom Developer Forum. First, please make sure that you have configured AWS Amplify to accept CORS requests from the front-end that you have running on `localhost:3000`.

> <https://stackoverflow.com/questions/61206299/amplify-cors-header-access-control-allow-origin-missing-error-even-though-cor>

Let me know if that helps.

Thanks,  
Max

---

<div class="post-metadata">

**Author:** ![vageesan\_s](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@vageesan\_s](https://devforum.zoom.us/u/vageesan_s)\
**Post date:** [February 13, 2021, 9:43am UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/3 "2021-02-13T09:43:12Z")

</div>

I am working to get the response in postman first.

---

<div class="post-metadata">

**Author:** ![vageesan\_s](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@vageesan\_s](https://devforum.zoom.us/u/vageesan_s)\
**Post date:** [February 13, 2021, 1:47pm UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/4 "2021-02-13T13:47:16Z")

</div>

In Postman it works as expected, looking in to API Gateway CORS

---

<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:** [February 16, 2021, 8:28pm UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/5 "2021-02-16T20:28:05Z")

</div>

Hey @vageesan_s,

Thank you for the update! Let me know if you have any further questions or issues as you test this out.

Thanks,  
Max

---

<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:** [March 19, 2021, 6:28am UTC](https://devforum.zoom.us/t/unable-to-create-meeting-using-zoom-api-from-aws-lambda-function/43180/6 "2021-03-19T06:28:50Z")

</div>

Closed on March 19, 2021, 6:28am UTC

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