Update: I added a try...catch on that line and pasted the output into a cell. Now I'm getting an error, which I can work with.
The error is:
Exception: Specified permissions are not sufficient to call DocumentApp.create. Required permissions: googleapis.com/auth/documents