Accessing Google App Engine data with Google Cloud Datastore

0 views
Skip to first unread message

Navraj Chohan via StackOverflow

unread,
Jun 25, 2013, 2:09:05 PM6/25/13
to google-appengin...@googlegroups.com

I'm trying to access my Google App Engine app's data using Google Cloud Datastore. I followed the steps from here from the section entitled "Google Cloud Datastore for an Existing App Engine Application". Once I got my GCE VM up, I tried to read from my application but got the stacktrace:

Traceback (most recent call last):
  File "datastore_test.py", line 30, in <module>
    get()
  File "datastore_test.py", line 21, in get
    resp = datastore.lookup(req)
  File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/__init__.py", line 66, in lookup
    return get_default_connection().lookup(request)
  File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/connection.py", line 82, in lookup
    datastore_v1_pb2.LookupResponse)
  File "/usr/local/lib/python2.7/dist-packages/googledatastore-v1beta1_rev1_1.0.0-py2.7.egg/googledatastore/connection.py", line 207, in _call_method
    raise RPCError(method, response, content)
googledatastore.connection.RPCError: lookup RPC client failure with HTTP(403) Forbidden: Access Not Configured

How can I configure access to my data?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/17304419/accessing-google-app-engine-data-with-google-cloud-datastore

user2521329 via StackOverflow

unread,
Jun 25, 2013, 2:35:35 PM6/25/13
to google-appengin...@googlegroups.com

As proppy mentioned, I had to enable the API from https://code.google.com/apis/console. Now it works as expected.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/17304419/accessing-google-app-engine-data-with-google-cloud-datastore/17304958#17304958

user2521329 via StackOverflow

unread,
Jun 25, 2013, 4:28:54 PM6/25/13
to google-appengin...@googlegroups.com

As proppy mentioned, I had to enable the API from https://cloud.google.com/console. Now it works as expected.

Reply all
Reply to author
Forward
0 new messages