title: Google drive code gives error when adding trigger
body: <p>When I add triggers in google script my google drive to load a folder stops working, does anybody know why it is causing this and a fix? The code works if I don't add the triggers.</p>
  
  <blockquote>
    <p>Error msg: "We're sorry a server error occurred. Please wait a bit and try again."</p>
  </blockquote>
  
  <p>Below is the code: 
  <code>function test() {
    var folder = DriveApp.getFolderById(GOOGLE_DRIVE_FOLDER_ID);
  }</code> </p>
  
  <p>The code is embedded in a spreadsheet, all I did was add a trigger that calls this function when a form is submitted.</p>