Did not expect an argument to be undefined Error

Hi everyone, I am currently trying to add a feature to my app that allows an automated export of data to excel using the ExcelExporter. However, when I make the final call to export a file to excel, I get the below error in my console.     Does anyone know what could be causing this?  Thanks, Jon
1 answers

So as the comments state this error is most likely caused by incorrect access rules configuration.

However, in 8.17 I had this error when I had the ‘Close Page’ activity in a microflow.
Removing the close page activity fixed the issue for me. Putting this answer here for reference.