I’ve set up my server-to-server oauth connection with zoom, and I’ve successfully executed a couple of API calls. However, other calls are not working, and I’m really not sure why.
POST: Create a meeting
Error received is status code 415 (unsupported media). See screenshots for my call and its response.
***The weird thing about this one is that it WAS working! I used this a few times, then went to add different parameters… when it stopped working, I tried to walk everything back, but I’m not sure what’s changed.
DELETE: delete a meeting
Error received is “The API call returns an empty body and you picked JSON.” See screenshots.
***When I try to initiate this call, the function actually deletes the meeting on my zoom account. However, even though that “works,” the call has not been initiated successfully.
The first error , i am seeing you are pass userid twice one in URL Parameters & other in Body Parameters last key can you check and remove one. and also it saying unsupported content type, can you check form document the content type of call, mostly its Content-Type = application/json in header, also
NOTE: when you check Queryst in body parameters it become a url parameters.
The other error is not a error, but just a message saying the response body is empty but you have chosen JSON,
So convert the top row Data type from JSON to Empty , and hopefully it will work.
For the first call: Remove querystring is the first step if you want to send a JSON.
However, because there’s object and array in Zoom API JSON, it may be better to use the JSON Body instead of adding parameters.
Also, the userID is an url parameters and not a querystring. Remove this from parameters
Finally, for the Delate call, change Data type top right to empty. Because a delete action will return no body.
This works, thank you!
One follow-up question: After watching bubble’s recent youtube demonstration on integrating Stipe, I got the impression that I needed to check Queeryst for any information that I would like to have available for my app actions/database… but this is likely my misunderstanding. Could you explain if there is anything that I would need queeryst for? Because in general, it seems like unchecking this box helped a number of my API calls to work after much frustration.
You need to send the expected payload. For Zoom, it’s JSON, for stripe, it’s querystring. Some will request form-data and some other request xml. In some API, you could have querystring + json body. Read related API documentation to understand what is expected.
To make field available for your action or data, just need to uncheck private checkbox.