title: google script error "You do not have permission to call create (line 38, file "macros")"
body: <pre><code>var newSpreadsheet = SpreadsheetApp.create("Spreadsheet to export");
  </code></pre>
  
  <p>I am running a Google Sheet script and I get the following error message on the above line of code. Any idea how to solve the issue? I am a novice.</p>
  
  <p>Error message:</p>
  
  <blockquote>
    <p>You do not have permission to call create (line 38, file "macros")</p>
  </blockquote>