Description
I’m trying to develop a software to create meetings in zoom, but now when I send a post in /users/${userId}/meetings, it always return me a array of meetings that I created before.
Error
There is no error, It should return my new meeting but return code 200 and the list of meetings already created
Which App Type (OAuth / Chatbot / JWT / Webhook)?
JWT
Thank you for reaching out to the Zoom Developer Forum. It looks like you’re accidentally calling the List Meetings API which has the same endpoint but uses a GET query instead of a POST. Please make sure that your code is calling the endpoint using a POST method.
I hope that helps! Let me know if you have any questions.
Thank you for the update. I’m thinking that a GET method is accidentally called somewhere in the code and it’s logged incorrectly. Are you able to share a public git repo with the code you’re using so that I can test this?
Thank you for providing your code! That was very helpful. I was able to make a request to the Create a Meeting API by making a POST request to /meeting/create. When doing so, I saw that the meeting was created without an issue.
However, I saw that when logging resp.data, the JSON data is logged to the console before express logs the status of the request.
As an example, we can see that the Create a Meeting response is logged to the console:
Then, after the data is logged to the console, express logs the request:
I say this because I’m now thinking that the response body you’re seeing logged is actually from a subsequent request to your GET /meeting/list endpoint.