I have a custom record that has an external html form. I also have a user event script that sends an email with a pdf attachment that is rendered using render.create. My issue is that when an external user completes the form they are getting error that says:
{"type":"error.SuiteScriptError","name":"INSUFFICIENT_PERMISSION","message":"Permission Violation: You need the 'Lists -> Documents and Files' permission to access this page.
The xml file that is used to create the pdf is set to Available Without Login.
How can I add this permission to an external user?