Did not expect an argument to be undefined Error

1
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
asked
3 answers
4

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.

answered
0

This might help someone. It was access rules in my case, because I was trying to download a FileDocument directly. As (I think) access rules can't be added to FileDocument, I needed to use an inherited entity instead.

answered
0

Hi Jonathan

Please use inherited/generalized entity from FileDocument.

Please accept the Answere, it helps:)

 

answered