# Getting validation failed when using users bulk update features api

**URL:** <https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086>\
**Category:** Users and Groups\
**Created:** [October 1, 2023, 5:06pm UTC](https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086 "2023-10-01T17:06:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagan.marthy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jagan.marthy/32/52632_2.png) [@jagan.marthy](https://devforum.zoom.us/u/jagan.marthy)\
**Post date:** [October 1, 2023, 5:06pm UTC](https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086/1 "2023-10-01T17:06:11Z")

</div>

Getting validation failed error when using users bulk update features api even though right request is sent.

Passed below sample object -  
{  
“feature\_type”: “user\_type”,  
“feature\_value”: “1”,  
“users”:[{id:“123”, [email:"sample@gmail.com](mailto:email:%22sample@gmail.com)},{id:“2345”, [email:"sample1@gmail.com](mailto:email:%22sample1@gmail.com)"}]  
}

Error -

Validation Failed.  
{  
code: 300,  
message: ‘Validation Failed.’,  
errors: [{ field: ‘users’, message: ‘Invalid Object.’ }]  
}

Is there any limit on the number of objects to be passed in users array.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 2, 2023, 3:53pm UTC](https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086/2 "2023-10-02T15:53:21Z")

</div>

Hi @jagan.marthy  
Thanks for reaching out to us and welcome to our community!  
I just did some testing on my end and passed a request body like this and did not get any errors

```auto
{
    "feature_type" : "user_type",
    "feature_value" : "2", 
    "users" : [
        {
            "id" : "nCbsQPq9QsdrsdU9Lg",
            "email" :"test@hotmail.com"
        },
        {
            "id" : "NbL36pRUSxasdadA",
            "email" : "test@gmail.com"
        }
    ]
}

```

---

<div class="post-metadata">

**Author:** ![jagan.marthy](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jagan.marthy/32/52632_2.png) [@jagan.marthy](https://devforum.zoom.us/u/jagan.marthy)\
**Post date:** [October 2, 2023, 4:07pm UTC](https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086/3 "2023-10-02T16:07:48Z")

</div>

I’m also not getting any errors if I pass around 10 or 15 objects in the users array. When I pass like around more than 50 I’m getting the above mentioned error. Could you tell is there any limit on the number of objects to be passed in the users array per request as this is not mentioned in the documentation. Also the error which I got is not mentioned in the documentation.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [October 4, 2023, 5:32pm UTC](https://devforum.zoom.us/t/getting-validation-failed-when-using-users-bulk-update-features-api/96086/4 "2023-10-04T17:32:41Z")

</div>

Hi @jagan.marthy  
Thanks for sharing this with me.  
I will go ahead and reach out to the Documentation team about this so it is included in the appropriate Docs.  
I will also send you a private message to request for more information so I can create an internal ticket about this issue.  
Cheers,  
Elisa
