Added error ID to ErrorRecords