# Mismatch in the length of the data and the files array

**URL:** <https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018>\
**Category:** Integrator.io\
**Tags:** csv, error-handling, file-transfer, import, netsuite\
**Created:** [December 13, 2021, 4:27pm UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018 "2021-12-13T16:27:34Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chiragkumardeo](https://avatars.discourse-cdn.com/v4/letter/c/85f322/32.png) [@chiragkumardeo](https://connective.celigo.com/u/chiragkumardeo)\
**Post date:** [December 13, 2021, 4:27pm UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/1 "2021-12-13T16:27:34Z")

</div>

Hi experts,

I am trying to import a csv flat file to the netsuite file cabinet, but everytime I run the flow "Mismatch in the length of the data and the files array " pops up.

Can anybody let me know, why is the error coming and how can I solve this?

Thanks

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [December 14, 2021, 4:48pm UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/2 "2021-12-14T16:48:09Z")

</div>

Hi @chiragkumardeo -  
Thanks for posting this to the community. I reached out to our NetSuite experts and asked them to provide some guidance here if possible. You may also want to open a [Support ticket](https://docs.celigo.com/hc/en-us/articles/4407535381147-Submit-a-support-ticket#via_io).

Thanks,

Kate

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [December 16, 2021, 1:23pm UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/3 "2021-12-16T13:23:26Z")

</div>

Hi Chirag kumar deo   
  
Could you please share us you flow zip , so that we can debug it further .  
  
Thanks!

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [December 16, 2021, 4:49pm UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/4 "2021-12-16T16:49:53Z")

</div>

@chiragkumardeo -  
I created a Support ticket from this post to enable deeper investigation into your flow. Please follow up through the ticket. Thanks!

Kate

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [October 5, 2022, 7:59am UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/5 "2022-10-05T07:59:58Z")

</div>

Hi,

I have the same error in my flow.

What was the error cause in this case?

Best,

Josy

---

<div class="post-metadata">

**Author:** ![tylerlamparter](https://sea1.discourse-cdn.com/flex001/user_avatar/connective.celigo.com/tylerlamparter/32/9204_2.png) [@tylerlamparter](https://connective.celigo.com/u/tylerlamparter)\
**Post date:** [October 6, 2022, 12:21am UTC](https://connective.celigo.com/t/mismatch-in-the-length-of-the-data-and-the-files-array/3018/6 "2022-10-06T00:21:14Z")

</div>

Hi @josyrleydealmeida,

I tracked down the ticket created for Chirag, and it looks like it never moved forward; however, [this thread](https://connective.celigo.com/t/pull-file-from-netsuite-custom-record-to-an-ftp-server-change-a-custom-select-field-on-that-custom-record-after-file-has-been-pulled/1275) might help in your situation.

Hope that helps,

Tom
