Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Index for header 'filename' is 1 but CSVRecord only has 1 values error

avatar
Contributor

Hello. I am simply spliting a csv file into two based on their row values. and when I run it through the QueryRecord processor, I get the error below. What could be the possible fix for this? Sample csv is as follows 

 

GradeNm   ,CattleBreedNm   ,CattleGenderNm   ,Price
C++            ,beef_cattle          ,Female                  ,10094
C++            ,hanwoo               ,Female                  ,12001
C++            ,beef_cattle          ,Male                       ,12704
B++            ,milk_cow             ,Female                   ,16942
 
The error 
화면 캡처 2022-07-13 091701.png
1 ACCEPTED SOLUTION

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Super Guru
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login

avatar
Contributor

Thank you so much for the help! this solved my problem