try adding Lists > Documents and Files: View ...
# suitescript
s
try adding Lists > Documents and Files: View level permissions to whatever role the script is running as, if it doesn't have it already