The new activity pxGenerateExcelFile only accepts two rows where one is the header and the other is the property reference.
If you have any additional rows then this errors are Expected. PxGenerateExcelFile is created for efficient performance.
If you have any other rows then you can use MSOGenerateExcelFile even though it is deprecated it doesn't impact the functionality. But using a modified template and the new pxGenerateExcelFile actiivty is recommended.