Hello,
Either this issue might be due to insufficient access rights on the file document you were exporting.
or
If you are calling a microflow on the button action, then check your input parameters for the microflow, I think this is probably one of the input parameters is not set correctly.
Hope it helps!