I was sending an invalid request to the add panelists endpoint, and a 201
code was being returned, but the panelist was not being added.
The request body I sent was
{
email: 'mark.vanlandingham@discourse.org',
name: 'Mark VanLandingham'
}
Instead of the correct:
{
panelists: [
{
email: 'mark.vanlandingham@discourse.org',
name: 'Mark VanLandingham'
}
]
}
You may want to ensure that the API is returning the correct error code when the request is invalid. This is also confusing because the response body I was sent looked like a success as well:
{ id: correct_webinar_id, updated_at: sometime }