{"action":"closed","issue":{"url":"https://api.github.com/repos/victorquinn/dynasty/issues/63","labels_url":"https://api.github.com/repos/victorquinn/dynasty/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/victorquinn/dynasty/issues/63/comments","events_url":"https://api.github.com/repos/victorquinn/dynasty/issues/63/events","html_url":"https://github.com/victorquinn/dynasty/issues/63","id":110760377,"number":63,"title":"Update issue","user":{"login":"jeprojects","id":11989601,"avatar_url":"https://avatars.githubusercontent.com/u/11989601?v=3","gravatar_id":"","url":"https://api.github.com/users/jeprojects","html_url":"https://github.com/jeprojects","followers_url":"https://api.github.com/users/jeprojects/followers","following_url":"https://api.github.com/users/jeprojects/following{/other_user}","gists_url":"https://api.github.com/users/jeprojects/gists{/gist_id}","starred_url":"https://api.github.com/users/jeprojects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeprojects/subscriptions","organizations_url":"https://api.github.com/users/jeprojects/orgs","repos_url":"https://api.github.com/users/jeprojects/repos","events_url":"https://api.github.com/users/jeprojects/events{/privacy}","received_events_url":"https://api.github.com/users/jeprojects/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-10T01:53:16Z","updated_at":"2015-10-11T10:04:17Z","closed_at":"2015-10-11T10:04:17Z","body":"I seem to be having issues with updating DynamoDB. Here is the function:\r\n\r\n```js\r\nDynastyUtil.prototype.updateJob = function(data, cb){\r\n  var table = this.dynasty.table('jobs');\r\n  console.log(data);\r\n  var item = {\r\n    step: data.step,\r\n    status: data.stepstatus,\r\n    stepsStatus: data.jobstatus\r\n  }\r\n  console.log('data.JOBID: ',data.jobid);\r\n  table.update({hash: data.jobid},{\r\n    step: data.step,\r\n    status: data.stepstatus,\r\n    stepsStatus: data.jobstatus\r\n  }).then(function(res){\r\n    if (res && typeof cb == 'function') {\r\n      cb()\r\n    }\r\n  },function(err){\r\n    logentries.logging(logentries.LOG_LEVEL_ERR,err);\r\n  })\r\n}\r\n```\r\n\r\nThe error I get is:\r\n\r\n* MissingRequiredParameter: Missing required key 'Key' in params\r\n* UnexpectedParameter: Unexpected key 'Item' found in params"}}