Python library ZOHO_IMPORT_TYPE error
Hi,
I get the error
com.adventnet.zoho.client.report.python.ReportClient.ServerError: u'ZOHO_IMPORT_TYPE is not present in the request parameters list'
My code:
def importData(self,rc,uri):
try:
with open('biexporttozoho.csv', 'r') as f:
importContent = f.read()
except Exception,e:
print "Error Check if file biexporttozoho.csv exists in the current directory!! "
print "(" + str(e) + ")"
return
impResult = rc.importData(uri,"TRUNCATEADD",importContent,None)
print "Added Rows :" +str(impResult.successRowCount) + " and Columns :" + str(impResult.selectedColCount)
Can anyone help me please?
Thanks.