I first customized the webinar.
「Restrict number of registrants」
I then ran the API(webinarRegistrantCreate).
I was expecting an error.
However, it was different from the expected value.
Expected
Error Code:3000
You have reached the limit for the number of attendees you can add. Contact Zoom Support for more infomation.
Result
code:3072
Closed to the public
What are the conditions under which a response code 3072 is returned?
I want to detect only the capacity limit(Restrict number of registrants) when executing the API(webinarRegistrantCreate).
Hi @kubotdai
Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!
I tried replicating this issue on my end but I am not able to.
Once I reached the limit of the numbers of attendees, I got the following:
{
“code”: 3072,
“message”: “Registration is closed.”
}
My apologies for the confusion.
My English translation of the message(Closed to the public) was wrong.
As you say, the correct response message is “Registration is closed.”.
What I want to know is why code 3072 is responded instead of code 3000.
When the reached the limit of the numbers of attendees, it was expected that the response would be as follows, but it was not.
What are the conditions that respond as follows?
{
“code”: 3000,
“message”: “You have reached the limit for the number of attendees you can add. Contact Zoom Support for more infomation.”
}
Also, are there any conditions other than limiting the number of webinar registrants that are responded as follows?
{
“code”: 3072,
“message”: “Registration is closed.”
}
Now, the expected error when adding more registrants/attendees to a webinar (after you restricted the number of registrants) is correct:
{
“code”: 3072,
“message”: “Registration is closed.”
}