# Error while creating zoom meeting while using ouath api php

**URL:** <https://devforum.zoom.us/t/error-while-creating-zoom-meeting-while-using-ouath-api-php/78901>\
**Category:** Meetings\
**Created:** [November 16, 2022, 12:11pm UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting-while-using-ouath-api-php/78901 "2022-11-16T12:11:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![amit.kapoor](https://avatars.discourse-cdn.com/v4/letter/a/bcef8e/32.png) [@amit.kapoor](https://devforum.zoom.us/u/amit.kapoor)\
**Post date:** [November 16, 2022, 12:11pm UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting-while-using-ouath-api-php/78901/1 "2022-11-16T12:11:27Z")

</div>

Request failed - Reason: Client error: `POST [https://api.zoom.us/v2/users/me/meetings`]([https://api.zoom.us/v2/users/me/meetings`](https://api.zoom.us/v2/users/me/meetings%60)) resulted in a `400 Bad Request` response: 300Request Body should be a valid JS (truncated…)

---

<div class="post-metadata">

**Author:** ![ojus.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/ojus.zoom/32/734_2.png) [@ojus.zoom](https://devforum.zoom.us/u/ojus.zoom)\
**Post date:** [December 17, 2022, 12:08am UTC](https://devforum.zoom.us/t/error-while-creating-zoom-meeting-while-using-ouath-api-php/78901/2 "2022-12-17T00:08:45Z")

</div>

> [@Getting the error while trying to create a meeting using Zoom oAuth APi php](https://devforum.zoom.us/t/getting-the-error-while-trying-to-create-a-meeting-using-zoom-oauth-api-php/78903/2):
>
> Hi @amit.kapoor , this typically happens when the payload in the request body is not correctly formatted. can you please verify that?
