# Insert data in queue with Bulk add Queue items error

**URL:** <https://forum.uipath.com/t/insert-data-in-queue-with-bulk-add-queue-items-error/531589>\
**Category:** Activities\
**Tags:** datatable, question, studio, orchestrator, system, activities\
**Created:** [April 1, 2023, 2:31pm UTC](https://forum.uipath.com/t/insert-data-in-queue-with-bulk-add-queue-items-error/531589 "2023-04-01T14:31:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [April 1, 2023, 3:07pm UTC](https://forum.uipath.com/t/insert-data-in-queue-with-bulk-add-queue-items-error/531589/3 "2023-04-01T15:07:25Z")

</div>

@Deep_HML

To confirm…did you try with only onw row of data? …first try with it…it might be that the columns names are not exactly matching or so…check those…

And yes the limit is 15k or so…

We can break the table into rows of 10k and add in 3 loops

So use for loop with `Enumerable.Range(0,Cint(Math.Ceiling(dt.RowCount/10000))).ToArray` and change type argument to integer

And inside loop to get each chunk use `dt.AsEnumerable.Skip(currentitem*10000).Take(10000).CopyToDataTable`

And use the chunkdt to load the queue

Hope this helps

Cheers

---

_[View the full topic](https://forum.uipath.com/t/insert-data-in-queue-with-bulk-add-queue-items-error/531589)._
