-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Key is not defined #17
Comments
I had the same error and indeed it worked for me too! So the entry created, Chalres Dickens's book in the Datastore should be created with id = 1 The real problem is that when you create the Book table in the Datastore you should not create a id row! If you did delete or at each new entry (book) enter a id of 1 for instance. For that you need to modify the addBook function in book.js and the Addbook call in app.js |
Changing the value of id from 0 to 1 didn't work for me unfortunately... I am getting the below error...
Update: As soon as i created one more entity it started working.. had the same data in both the entities (rows with 1 as the id). Still not clear what the issues was.. |
What about step 7?! |
If there is no
I added the |
After creating the first Entity it and try to run the node app according to STEP-6 I get the following error.
Solution:
I works when I change from
id = 0
toid = 1
for the entity I created.The text was updated successfully, but these errors were encountered: