Hi Oscar, can you also share a little more of your use-case? it seems like you are trying to extract Loss Events from the OP server, right?
Are you using the OP connector provided with the ITG assemblyline in OP 7.2? Which by default is under <OP_Home>/OpenPages/integrations/ITG (on UNIX operating systems)
I have less experience with the TDI error you see, but it might be you are getting no results from your query? Can you try your query directly via the OpenPages REST API?
query = "SELECT * FROM [LossEvent]";
For some info on the REST API itself, maybe you can start here if you aren't familiar:
https://www.ibm.com/developerworks/community/blogs/d89a3ddf-2acf-4cc8-b11b-14f33b5c653e/?lang=en
and
http://www-01.ibm.com/support/docview.wss?uid=swg27046995 (see OpenPages GRC Rest API Reference Guide [pdf] )