Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

CSV file for M-Files Importer produces Index out of range error

Last updated on 14 June 2023

Admin
M-Files Importer

Overview

The following error may occur when trying to use a CSV file that is generated by the M-Files Importer.

User interface background worker exception.

Failed to process the data file.: Index was out of range. Must be non-negative and less than the size of the collection

Parameter name: index

image.png

The issue in this case is because there was a double quotes often seen when using inches (") in the name of one of the imported items such as:

Widget A 12" mockup

The double quotes were not properly escaped in the CSV.

Solution

The easiest solution here is to open the CSV with Excel and then save the document as a CSV file from the Save As menu back on top of the original. This should properly escape all unescaped special characters and the CSV should work.

Still need help?

On this page