Closed bdperea closed 7 years ago
I am having the same issues also....
Im having the same issue too
Some things to look at when adapting my CRUD example:
always a little danger directly adapting another's code, need to look at your get, update, delete sections, be sure to use your partitionKey in place of itemID, et cetera.
We will dedicate time Tuesday in class to look at your stuff, as-is, and extend the deadline if need-be @aldwinverzosa @Velestial @bdperea we got yer back
I'm using itemID and sortKey for my code. For #3 what do you mean you have different partition and sort keys in get, update, and delete>
Yes
From Stefan Bund
On Feb 13, 2017, at 11:17 AM, bdperea notifications@github.com wrote:
I'm using itemID and sortKey for my code. For #3 what do you mean you have different partition and sort keys in get, update, and delete>
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
My issue says: The provided key element does not match the schema. Did anyone get that also?
Yeah I got that too on my console.
This means that the key that you supplied does not exist within your table, please see my earlier comment
From Stefan Bund
On Feb 13, 2017, at 12:59 PM, henrydu1371994 notifications@github.com wrote:
My issue says: The provided key element does not match the schema. Did anyone get that also?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
i dont get any feedback whatsoever
need more details @bdperea
When i enter data and click put, it will show up in the table, but when i click get, update or delete, nothing happens. There is no message or error message.
This resembles the issue others experience, which I commented to earlier in this chain today, please check this out
On Feb 13, 2017, at 2:29 PM, bdperea notifications@github.com wrote:
When i enter data and click put, it will show up in the table, but when i click get, update or delete, nothing happens. There is no message or error message.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/stefanbund/311/issues/24#issuecomment-279544287, or mute the thread https://github.com/notifications/unsubscribe-auth/ABkO7JHYkvRj4NfAG2z0QuimzAiMeMT5ks5rcNk1gaJpZM4L-TF7.
@bdperea if no errors appear, perhaps you need to confirm the put action took place before doing a get -- also, check whether your console runs console.log, to get a minimum output of the item you 'got,' or the associated error msg
when using the 'get' button, be sure to specify 'attribute1' in the second input field
I have the code going and there seems to be no errors, but when I run the site, only put works. It'll appear into the table, but for some reason, get, update, and delete don't work. I'm unsure why it doesn't work, as all variable names are correct, and the policy seems to be correct.