Skip to content Skip to sidebar Skip to footer

How To Set Your Key For Gae Datastore?

Anyone have an idea why I keep getting this error when I make a GET request to /display-message? { Error: Key path element must not be incomplete: [created_timestamp: ]. Am I not s

Solution 1:

I believe datastore.key() is expecting a list:

constkey = datastore.key(['created_timestamp', 5689413791121408]);

https://googlecloudplatform.github.io/google-cloud-node/#/docs/datastore/0.6.0/datastore?method=key

Post a Comment for "How To Set Your Key For Gae Datastore?"