title: Making a request to the Google Apps Script API through postman
body: <p>I am attempting to remotely execute a google apps script function using the apps script api through a postman request.</p>
  
  <p>I first get credentials from the <a href="https://developers.google.com/oauthplayground/" rel="nofollow noreferrer">Google API Playground</a></p>
  
  <p>Then they are inputted into postman as OAuth2 credentials, and inputted in the headers like this:
  <a href="https://i.stack.imgur.com/cV87i.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cV87i.png" alt="enter image description here"></a></p>
  
  <p>Then the appropriate link is requested:
  <a href="https://i.stack.imgur.com/4UeLw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4UeLw.png" alt="enter image description here"></a></p>
  
  <p>Then the body prepared:
  <a href="https://i.stack.imgur.com/HKSIq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/HKSIq.png" alt="enter image description here"></a></p>
  
  <p>And then the response after making the request:
  <a href="https://i.stack.imgur.com/Ox2Gm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ox2Gm.png" alt="enter image description here"></a></p>
  
  <p>Postman is returning an error 403, which, according to <a href="https://developers.google.com/apps-script/api/reference/rest/v1/scripts/run" rel="nofollow noreferrer">Google's documentation</a></p>
  
  <p>indicates that "the Cloud Platform project used to authorize the request is not the same as the one used by the script." An error 403 is an authorization error and can mean many things, but let's assume that the error is what google proclaims it to be.</p>
  
  <p>I have full control over the GCP project utilized by my script, but I'm not aware of where to find the project that was used to authorize the request.</p>
  
  <p>Where might I gain access to this GCP project so I can assign my script to this project, thereby eliminating the 403 error?</p>
  
  <p>Thanks! </p>