{"code":300,"message":"Unsupported Content Type"}

Hi there,
I’m trying to copy the source code for creating meeting section to my own js code, but I get an error when running with node but it works fine here in the test request section.
https://marketplace.zoom.us/docs/api-reference/zoom-api/meetings/meetingcreate
Do you know what can be the issue?

Error
{“code”:300,“message”:“Unsupported Content Type”}

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

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

I’m using VS code and running this code on my local machine.

xhr.open(“POST”, “https://api.zoom.us/v2/users/me/meetings”);

xhr.setRequestHeader(“content-type”, “application/json”);

xhr.setRequestHeader(“authorization”, “Bearer …”);
2. See error

Hey @optt,

Please share your request body so I can debug.

Thanks,
Tommy