title: Permission denied on external access to Google Cloud Datastore
body: <p>I want to access datastore (and storage) data of an AppEngine project via google-cloud-datastore and google-cloud-storage with an Python program on my own server.</p>
  
  <p>This works with my AppEngine staging server, by creating a service account and giving it owner access (to the project).</p>
  
  <p>Doing the same thing with the production AppEngine instance fails with</p>
  
  <pre><code>google.api_core.exceptions.PermissionDenied: 403 Missing or insufficient permissions.
  </code></pre>
  
  <p>Part of the problem might be, that I might be using the wrong project to create the service account with. There are more than one project with the same name in my cloud console. How do I identify the correct one?</p>
  
  <p>How do I get more details about the problem?</p>