# Issue when adding meeting registrants

**URL:** <https://devforum.zoom.us/t/issue-when-adding-meeting-registrants/105942>\
**Category:** Webinars\
**Created:** [March 18, 2024, 7:09am UTC](https://devforum.zoom.us/t/issue-when-adding-meeting-registrants/105942 "2024-03-18T07:09:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schornjoh](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/schornjoh/32/57659_2.png) [@schornjoh](https://devforum.zoom.us/u/schornjoh)\
**Post date:** [March 18, 2024, 7:09am UTC](https://devforum.zoom.us/t/issue-when-adding-meeting-registrants/105942/1 "2024-03-18T07:09:26Z")

</div>

i’m getting this error when adding registrants

\<?xml version="1.0" encoding="UTF-8" standalone="yes"?\>`300`Validation Failed.first\_nameMissing field.

how to solve this. when i’m checking the document there is only 2 required datas but i’m getting this error.  
i’ve passed first\_name, last\_name, email, auto\_approve  
please help

---

<div class="post-metadata">

**Author:** ![tzarr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tzarr/32/59683_2.png) [@tzarr](https://devforum.zoom.us/u/tzarr)\
**Post date:** [August 15, 2024, 1:50pm UTC](https://devforum.zoom.us/t/issue-when-adding-meeting-registrants/105942/3 "2024-08-15T13:50:47Z")

</div>

Where you able to find a resolution to this issue @schornjoh ? I’m running into the same thing and ended up opening a case.

Here’s my URL and JSON payload:

[https://api.zoom.us/v2/webinars/[redacted]/registrants/](https://api.zoom.us/v2/webinars/%5Bredacted%5D/registrants/)

The email was supplied in a normal user + @ + domain format just like this: “email”: “[jchill@example.com](mailto:jchill@example.com)” - this editor keeps inserting a mailto: in parentheses for some reason in the code block.

```auto
{
   "registrants": [
         {
            "email": "jchill@example.com",
            "first_name": "Jill",
            "last_name": "Chill"
         }
    ]
}

```

Here’s the result

```auto
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<result>
    <code>300</code>
    <message>Validation Failed.</message>
    <errors>
        <field>first_name</field>
        <message>Missing field.</message>
    </errors>
    <errors>
        <field>email</field>
        <message>Missing field.</message>
    </errors>
</result>

```

I’ve been using the webinar and panelist URLs very successfully. Kindly let me know if you identified a root cause or fix here. Thank you!

---

<div class="post-metadata">

**Author:** ![tzarr](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/tzarr/32/59683_2.png) [@tzarr](https://devforum.zoom.us/u/tzarr)\
**Post date:** [August 16, 2024, 4:13am UTC](https://devforum.zoom.us/t/issue-when-adding-meeting-registrants/105942/4 "2024-08-16T04:13:07Z")

</div>

I found the resolution to my issue. I was passing an array in the JSON when it actually should be an object like this:

{  
“first\_name”: “{{first\_name}}”  
, “last\_name”: “{{last\_name}}”  
, “email”: “{{email}}”  
, “country”: “{{country}}”  
, “org”: “{{company}}”  
, “custom\_questions”: [  
{  
“title”: “What (practice) region do you support?”  
, “value”: “{{practice}}”  
}  
, {  
“title”: “Are you certified?”  
, “value”: “No”  
}  
, {  
“title”: “Do you agree to be automatically enrolled into the future sessions of this series?”  
, “value”: “No”  
}  
]  
,“job\_title”: “N/a”  
}

The API doesn’t seem to validate anything beyond it being just valid JSON syntax. I would have expected something more like “Expected object not array.” It’s a little odd that panelists seems to be allowing an array but registrants doesn’t, but I’ll make it work regardless. 🙂
