If there isn't an invalid character present in one of column headers, then the issue is likely caused by corrupted data. To get around this error message, remove the edited column headers one by one until the export process runs successfully.