Add Webinar Registrant runs into Status 415 / Error Code 300

Description
How can I avoid to run into the above issue?

Error
Status 415 Unsupported Media Type
Error Code 300 Message Unsupported Content Type

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

Which Endpoint/s?
webinars/86314147907/registrants

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

  • Using Postman Zoom API
  • Headers: Content-Type=multipart/form-data
  • Body: email={my email address}, first_name={my first name}
  • Response: 300Unsupported Content Type

Screenshots (If applicable)

Additional context

Hi @reiner.velte,

Thanks for reaching out about this, and happy to help.

In order to debug, can you please share the full request body you’re using? In the meantime, please make sure you’re setting the Content-Type to application/json.

Thanks,
Will

Hi Will,
Thanks for your quick reply.
Meanwhile I found out that the Postman collection “Zoom API” was causing the problem: they set the wrong content-type in their call. After adjusting it, the call works fine.

Hi @reiner.velte,

Thank you for confirming this. We will take a look at the collection as well!

Best,
Will

Hi Will,
Ah, very good; I didn’t know that the Postman collection comes from your side.
I had to change the content type to application/json (as you said already) and to specify the body in raw JSON.
I find Postman very handy for testing any REST API.

Thanks,
Reiner

1 Like

Hey @reiner.velte,

Thank you for the update. I use the collection frequently for testing myself and have noticed this same issue. We’ll look into updating it so this isn’t a problem in the future. (DEVELOPERS-1004)

Thanks,
Max