title: TypeError: DriveApp.getFolderByID is not a function and TypeError: DriveApp.getFileByID
body: <p>So I have a very simple bit of code at the very top of my script that says</p>
  <p><code>let files2 = DriveApp.getFolderByID(reports_folder)</code></p>
  <p>However, when I try to run this, it gives me</p>
  <blockquote>
  <p>TypeError: DriveApp.getFolderByID is not a function</p>
  </blockquote>
  <p>and the same</p>
  <blockquote>
  <p>TypeError: DriveApp.getFileByID is not a function</p>
  </blockquote>
  <p>when I try that. Any ideas?</p>