Custom Connector dataset population issue

This is the first time I've tried to build a custom connector so forgive me if I've missed something obvious, although I don't think I have.


I'm trying to build a connector to pull data from one of our reports in Webtrends Infinity. I've followed all of the instructions & am at the last stage. However, when I run the script it populates the console window with the correct data but when I ask it to create the dataset it's creating a table with only the header row & none of the actual data.



Can anybody tell me what I'm doing wrong?