I would recommend checking for any "strange" data in your table.
Like, if you have a column full of numbers, then a text entry appears.
Also, look for any erroneous, blank, or null values in your table.
To debug, here is how I would approach it:
Start with a table of one record. Can you get that to work?
If so, then it is probably a data issue. Keep adding rows back to the table until the error occurs, and try to zero in on the record causing the error.