{"action":"opened","issue":{"url":"https://api.github.com/repos/redis/hiredis/issues/586","repository_url":"https://api.github.com/repos/redis/hiredis","labels_url":"https://api.github.com/repos/redis/hiredis/issues/586/labels{/name}","comments_url":"https://api.github.com/repos/redis/hiredis/issues/586/comments","events_url":"https://api.github.com/repos/redis/hiredis/issues/586/events","html_url":"https://github.com/redis/hiredis/issues/586","id":312503876,"number":586,"title":"ERR value is not an integer or out of range","user":{"login":"vikrant-verma","id":13690754,"avatar_url":"https://avatars3.githubusercontent.com/u/13690754?v=4","gravatar_id":"","url":"https://api.github.com/users/vikrant-verma","html_url":"https://github.com/vikrant-verma","followers_url":"https://api.github.com/users/vikrant-verma/followers","following_url":"https://api.github.com/users/vikrant-verma/following{/other_user}","gists_url":"https://api.github.com/users/vikrant-verma/gists{/gist_id}","starred_url":"https://api.github.com/users/vikrant-verma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vikrant-verma/subscriptions","organizations_url":"https://api.github.com/users/vikrant-verma/orgs","repos_url":"https://api.github.com/users/vikrant-verma/repos","events_url":"https://api.github.com/users/vikrant-verma/events{/privacy}","received_events_url":"https://api.github.com/users/vikrant-verma/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-09T12:05:26Z","updated_at":"2018-04-09T12:05:26Z","closed_at":null,"author_association":"NONE","body":"const string script = \" if redis.call('EXISTS', '{0}') == 1 then\" +\r\n                                  \" local user = redis.call('get','{0}')\" +\r\n                                  \" local value = cjson.decode(user)\" +\r\n                                  \" value['UserPreferences'] = cjson.decode('{1}')\" +\r\n                                  \" value['Timestamp'] = cjson.decode('{2}')\" +\r\n                                  \" local val=cjson.encode(value)\" +\r\n                                  \" redis.call('set', '{0}', val)\" +\r\n                                  \" redis.call('EXPIRE', '{0}','{3}')\" +\r\n                                  \" end\";\r\n\r\n            var redisScript = string.Format(script, \"User_\" + userId, JsonConvert.SerializeObject(userPreferences), JsonConvert.SerializeObject(DateTime.UtcNow), ConfigurationManager.AppSettings[\"RedisKeyExpiryTime\"]);\r\n          \r\n                await Cache.ScriptEvaluateAsync(redisScript);\r\n          \r\n\r\nPlease someone let me know what can be the issue I am getting this error."}}
{"actor":{"display_login":"vikrant-verma"}}