This error was caused by changing the Appeal on an activated marketing effort before exporting the file. To fix this, change the appeal back to the appeal used when the effort was activated and then run the marketing effort export again.