ISBS_ROBOT
(ISBS ROBOT)
September 4, 2023, 9:08am
1
Hello all,
I have a file of CSV format but when I use Read CSV activity I’m getting an error like “Read CSV: The CSV file format for Output File\data.csv is invalid. Line 2 contains more values than the header line.” How to remove this error and get the data in excel.
Please help me with this issue.
Yoichi
(Yoichi)
September 4, 2023, 9:13am
2
Hi,
Can you try UseExcelFile activity as the following?
Then use ReadRange activity or ForEachExcelRow activity etc.
Regards,
Hi @ISBS_ROBOT ,
Maybe you could also refer the below post :
Using Read CSV File activity returns the error "The CSV file format for is invalid. Line 2 contains more values than the header line."
There are two possible approaches: Approach #1:
Open CSV in notepad or Notepad++.
Check the delimiter being used.
Pass the same delimiter in the Delimiter property of the "Read CSV" activity.
Approach #2:
Replace the "Read CSV" activity, with a "Read Text file" activity and use the .csv file as input and set a string variable for output.
Use a "Generate …
system
(system)
Closed
September 11, 2023, 9:02am
4
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.