If you're trying to load 3rd party data, the data format may be wrong.
if it's in .csv format open it in notepad and check for unnecessary "quote" symbols at the beginning or end of the data.
data.csv looks like this
Date,Time,Open,High,Low,Close,Vol,OI...