title: Google Forms Script You do not have permission to call Form.getResponses
body: <p>I am trying to create a trigger for a Google Form to send the responses to an API endpoint when the form is submitted, but even before I get to the API call, I am having trouble accessing the form responses with a trigger. I have the below in my <code>code.gs</code> but I am getting the following error message:</p>
  
  <p><code>You do not have permission to call Form.getResponses</code></p>
  
  <pre><code>function onFormSubmit(e) {
    Logger.log(e)
    Logger.log(e.source.getResponses())
  }
  </code></pre>
  
  <p>The form, the trigger and the script were all made by the same account. There are a lot of posts about issues similar to this, but I have not found a simple, clear answer on how to solve it.</p>