Registration Questions “custom_questions” limited to 50 answers

Description
Related to topic #6905
I am getting an error when I try to Update Meeting registration Questions with a custom question that has more than 50 answers. Type of custom question is “single”.

The problem is that we were trying to automate some manual work for users so they would not have to manually type in those answers for each registration form. We spent some efforts on implementation of this task and this problem was discovered only on the final stage, because no information about this limit is present in documentation. Is this limit present only for and API endpoint ? Is there any way to overcome this problem, increase max answers for example ?

Error

300
Validation Failed.

custom_questions[4].answers
Invalid field.

Endpoint
PATCH /meetings/{meetingId}/registrants/questions

Hey @bportakh,

Thanks for reaching out about this—happy to look into this for you and confirm expected behavior. Can you please provide a copy of the request you’re attempting and the associated error/response? This will help me to verify.

Thanks,
Will

Hi @will.zoom,

Yes, sure. Though, on the website I am able to create a meeting registration custom question that has more than 50 answers. Here is an example of request:

Endpoint
https://api.zoom.us/v2/meetings/97184634643/registrants/questions

HTTP Method
PATCH

Request Body

{
   "questions":[
      
   ],
   "custom_questions":[
      {
         "title":"Country",
         "type":"single",
         "required":true,
         "answers":[
            "United States",
            "Canada",
            "Afghanistan",
            "Albania",
            "Algeria",
            "American Samoa",
            "Andorra",
            "Angola",
            "Anguilla",
            "Antarctica",
            "Antigua and/or Barbuda",
            "Argentina",
            "Armenia",
            "Aruba",
            "Australia",
            "Austria",
            "Azerbaijan",
            "Bahamas",
            "Bahrain",
            "Bangladesh",
            "Barbados",
            "Belarus",
            "Belgium",
            "Belize",
            "Benin",
            "Bermuda",
            "Bhutan",
            "Bolivia",
            "Bosnia and Herzegovina",
            "Botswana",
            "Bouvet Island",
            "Brazil",
            "British lndian Ocean Territory",
            "Brunei Darussalam",
            "Bulgaria",
            "Burkina Faso",
            "Burundi",
            "Cambodia",
            "Cameroon",
            "Cape Verde",
            "Cayman Islands",
            "Central African Republic",
            "Chad",
            "Chile",
            "China",
            "Christmas Island",
            "Cocos (Keeling) Islands",
            "Colombia",
            "Comoros",
            "Congo",
            "Cook Islands"
         ]
      }
   ]
}

Response Code
400 Bad Request

Response Body

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<result>
    <code>300</code>
    <message>Validation Failed.</message>
    <errors>
        <field>custom_questions[0].answers</field>
        <message>Invalid field.</message>
    </errors>
</result>

If I decrease answers size to 50, then I receive successful response. Same behavior is present for other meetings/webinars.

Hi @bportakh,

Thank you for providing that example and for clarifying. At the moment, you’re correct in that there are slightly different requirements for custom requirements when handled in the UI vs. the API. I’ve raised this with our team to see if this is something we might be able to bring greater parity to. (ZOOM-205648).

Thanks,
Will

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.