ERROR: Invalid numberofrecords. You must specific a correct numberofrecords variable.