Did not expect an argument to be undefined Error

5
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
5 answers
12

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
11

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
2

Hi Jonathan

Please use inherited/generalized entity from FileDocument.

Please accept the Answere, it helps:)

 

answered
0

 

Hi Jonathan,

 

I have also faced the same issue, I checked for all the access in the security and Entity access for the generalized Entity from the file document and the close page was the problem for me. I fixed and the error resolves!

answered
0

For me the issue was that I hadn’t granted access to the newly created entities of my CSV exporter module to my users. Thanks for pointing me in the right direction!

answered