# Update Registration Questions "custom\_questions" Invalid Field

**URL:** <https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905>\
**Category:** API and Webhooks\
**Created:** [December 3, 2019, 5:32pm UTC](https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905 "2019-12-03T17:32:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steven.wadsworth](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steven.wadsworth/32/1876_2.png) [@steven.wadsworth](https://devforum.zoom.us/u/steven.wadsworth)\
**Post date:** [December 3, 2019, 5:32pm UTC](https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905/1 "2019-12-03T17:32:32Z")

</div>

**Description/Error**  
I’m trying to add a “single\_dropdown” type custom question. However, when I pass it the “answers” array, the response returns an “Invalid Field” error for the “answers” array. Specifically, this error “{“code”:300,“message”:“Validation Failed.”,“errors”:[{“field”:“custom\_questions[0].answers”,“message”:“Invalid field.”}]}”

My custom question looks like this:  
{  
“title”: “State/Province”,  
“type”: “single\_dropdown”,  
“answers”: [“Alabama”, “Alaska”, “Arizona”, “Arkansas”, “California”, “Colorado”, “Connecticut”, “Delaware”, “District of Columbia”, “Florida”, “Georgia”, “Hawaii”, “Idaho”, “Illinois”, “Indiana”, “Iowa”, “Kansas”, “Kentucky”, “Louisiana”, “Maine”, “Maryland”, “Massachusetts”, “Michigan”, “Minnesota”, “Mississippi”, “Missouri”, “Montana”, “Nebraska”, “Nevada”, “New Hampshire”, “New Jersey”, “New Mexico”, “New York”, “North Carolina”, “North Dakota”, “Ohio”, “Oklahoma”, “Oregon”, “Pennsylvania”, “Rhode Island”, “South Carolina”, “South Dakota”, “Tennessee”, “Texas”, “Utah”, “Vermont”, “Virginia”, “Washington”, “West Virginia”, “Wisconsin”, “Wyoming”, “Alberta”, “British Columbia”, “Manitoba”, “New Brunswick”, “Newfoundland and Labrador”, “Nova Scotia”, “Ontario”, “Prince Edward Island”, “Quebec”, “Saskatchewan”],  
“required”: “true”  
}

**Which Endpoint/s?**  
[https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantquestionupdate](https://marketplace.zoom.us/docs/api-reference/zoom-api/webinars/webinarregistrantquestionupdate)

Any help would be appreciated. I couldn’t find any examples of the “answers” array and can’t seem to figure out why it’s not working. Please help!

---

<div class="post-metadata">

**Author:** ![steven.wadsworth](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/steven.wadsworth/32/1876_2.png) [@steven.wadsworth](https://devforum.zoom.us/u/steven.wadsworth)\
**Post date:** [December 3, 2019, 9:21pm UTC](https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905/2 "2019-12-03T21:21:52Z")

</div>

Figured it out. The “answers” array maxes out at 50 values. So the most I could have in that array is 50 values.

---

<div class="post-metadata">

**Author:** ![tommy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tommy/32/72769_2.png) [@tommy](https://devforum.zoom.us/u/tommy)\
**Post date:** [December 3, 2019, 9:48pm UTC](https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905/3 "2019-12-03T21:48:56Z")

</div>

Hey @steven.wadsworth, happy to hear your issue is solved.

We will add the 50 limit to our docs.

Thanks,  
Tommy

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 7:06pm UTC](https://devforum.zoom.us/t/update-registration-questions-custom-questions-invalid-field/6905/4 "2020-08-21T19:06:31Z")

</div>

Closed on August 21, 2020, 7:06pm UTC


