API Endpoint(s) and/or Zoom API Event(s)
[Link the API endpoint(s) and/orZoom API Event(s) you’re working with to help give context.]
https://api.zoom.us/v2/meetings/89543836344/registrants/questions
Description
Attempting to PATCH a meeting’s registration questions using the JSON array of questions from a previous GET of Registration Questions from: https://api.zoom.us/v2/meetings/89178616159/registrants/questions
The JSON Array of questions is exactly what Zoom just output for the previous meeting. I’m not sure why I’m getting the Error code 300 or 400 for a bad request below.
Error?
response
Response Status 400
Response Headers
Response Headers Cache Control
no-cache, no-store, must-revalidate, no-transform
Response Headers Cf Cache Status
DYNAMIC
Response Headers Cf Ray
8c8814968c0f208a-IAD
Response Headers Connection
close
Response Headers Content Length
309
Response Headers Content Type
application/xml;charset=UTF-8
Response Headers Date
Wed, 25 Sep 2024 03:55:45 GMT
Response Headers Expires
Thu, 01 Jan 1970 00:00:00 GMT
Response Headers Nel
{"success_fraction":0.01,"report_to":"cf-nel","max_age":604800}
Response Headers Pragma
no-cache
Response Headers Report To
{"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report\/v4?s=XranzEkrV5kZkDNvzlT%2BMQqlWazz78BlQ003uTvvZAcXdw1S9y3k6b0NdvO4CfWGtRkrb3KOJSweDQsM%2BSbsMkio2RZaiJEyBUrelcwDmvRCf1%2BVSJbNJTWBtF%2Be"}],"group":"cf-nel","max_age":604800}
Response Headers Server
cloudflare
Response Headers Set Cookie
zm_aid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_haid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_tmaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, zm_htmaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, cred=E2675C419376C0CC24BFF515A1789550; Path=/; Secure; HttpOnly, _zm_ctaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, _zm_chtaid=; Max-Age=0; Expires=Thu, 01 Jan 1970 00:00:10 GMT; Domain=zoom.us; Path=/; Secure; HttpOnly, _zm_mtk_guid=1cc4d324238b470788f18dcfed19e142; Max-Age=63072000; Expires=Fri, 25 Sep 2026 03:55:45 GMT; Domain=zoom.us; Path=/; Secure, __cf_bm=_XPSWUw.Pvp0ebXMWuvbojpqi7QKqh.UyzSO0A8PeJQ-1727236545-1.0.1.1-foRCmZBNbF9r5bDKYXJ_bh20hG_5TsWgimRoho7kTbIAdZA92GTM8VNoL2_2s5RNFqhYXetzDl_B0LJJarhqsg; path=/; expires=Wed, 25-Sep-24 04:25:45 GMT; domain=.zoom.us; HttpOnly; Secure; SameSite=None
Response Headers Vary
Origin, Access-Control-Request-Method, Access-Control-Request-Headers
Response Headers X Content Type Options
nosniff
Response Headers X Ratelimit Category
Light
Response Headers X Zm Trackingid
v=2.0;clid=us02;rid=WEB_374fa8b1fdec96c3387fddb1aaac413b
Response Headers X Zm Zoneid
VA
Response Body
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><result><code>300</code><message>Validation Failed.</message><errors><field>custom_questions[6].answers</field><message>Invalid field.</message></errors><errors><field>custom_questions[2].answers</field><message>Invalid field.</message></errors></result>
Response Data
How To Reproduce
Steps to reproduce the behavior:
*1. Request URL / Headers **
https://api.zoom.us/v2/meetings/89543836344/registrants/questions
Request Headers: access_token: ####Redacted#### and Content-Type: application/json
Body
{“questions”:[{“field_name”:“last_name”,“required”:true},{“field_name”:“city”,“required”:false},{“field_name”:“country”,“required”:false},{“field_name”:“zip”,“required”:false},{“field_name”:“state”,“required”:false},{“field_name”:“org”,“required”:false},{“field_name”:“job_title”,“required”:false}],“custom_questions”:[{“title”:“Preferred Pronoun”,“type”:“single”,“required”:true,“answers”:[“She/Her/Hers”,“He/Him/His”,“Them/They/Their”,“Ze/Zir/Zirs”,“Ze”,“Hir”,“Hirs”]},{“title”:“Program Area”,“type”:“single”,“required”:true,“answers”:[“Advance and Earn”,“Beacon”,“Compass”,“Cornerstone”,“CSBG”,“Literacy and Immigrant Services”,“Office of Neighborhood Safety”,“RHY”,“SYEP”,“Unity Works”,“WIOA”]},{“title”:“Program Site”,“type”:“short”,“required”:true,“answers”:},{“title”:“My Race/ethnicity identity is best described as:”,“type”:“single”,“required”:true,“answers”:[“Asian or Asian American”,“Black or African American”,“Hispanic or Latino/a/x”,“Middle Eastern or North African”,“Multi-racial”,“My race is not listed”,“Native American or Alaska Native”,“Native Hawaiian or Pacific Islander”,“White or Caucasian”,“Prefer not to answer”]},{“title”:“My gender or gender identity is best described as:”,“type”:“single”,“required”:true,“answers”:[“Female”,“Gender Nonconforming”,“Genderqueer”,“Male”,“Non-Binary”,“Questioning”,“Transgender”,“My gender is not listed”,“Prefer not to answer”]},{“title”:“What target populations does your organization or program serve? (if your organization does not have a target population and serves general job seekers, check that option)”,“type”:“single”,“required”:true,“answers”:[“Domestic Violence/Trafficking Survivors”,“Business/Industry”,“General Population”,“Immigrants/Refugees/Asylum Seekers”,“Individuals with Disabilities”,“Individuals Experiencing Homelessness”,“Individuals with Justice/Legal Involvement”,“LGBTQIA+ Individuals”,“TANF/SNAP Recipients”,“Veterans”,“Youth/Young Adults”,“Youth in Foster Care”,“Other”]},{“title”:“If your organization serves more than one population category, feel free to write them in the text box.”,“type”:“short”,“required”:true,“answers”:},{“title”:“How did you hear about us?”,“type”:“single”,“required”:true,“answers”:[“DYCD”,“Google Search”,“LinkedIn”,“Network of Jewish Human Service Agencies (NJHSA)”,“NYCETC”,“Other”,“WPTI Newsletter”,“WPTI Training”,“WPTI Website”]}]}