# System DataSet to todataset, IndexError: Row 0 doesn’t have the same number of columns as header list

**URL:** <https://forum.inductiveautomation.com/t/system-dataset-to-todataset-indexerror-row-0-doesn-t-have-the-same-number-of-columns-as-header-list/80301>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [October 10, 2023, 7:54pm UTC](https://forum.inductiveautomation.com/t/system-dataset-to-todataset-indexerror-row-0-doesn-t-have-the-same-number-of-columns-as-header-list/80301 "2023-10-10T19:54:44Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [June 16, 2024, 3:33am UTC](https://forum.inductiveautomation.com/t/system-dataset-to-todataset-indexerror-row-0-doesn-t-have-the-same-number-of-columns-as-header-list/80301/4 "2024-06-16T03:33:14Z")

</div>

> [@dick.willis](#):
>
> Did you ever get your code working?

For xml to dataset, I have a working example here:  
[forum | xml file to Ignition dataset](https://forum.inductiveautomation.com/t/xml-file-get-into-ignition-dataset-using-file-upload-component/82522/10)

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-dataset-to-todataset-indexerror-row-0-doesn-t-have-the-same-number-of-columns-as-header-list/80301)._
