{"action":"created","issue":{"url":"https://api.github.com/repos/danielwertheim/mycouch/issues/68","labels_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/68/comments","events_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/68/events","html_url":"https://github.com/danielwertheim/mycouch/issues/68","id":63402907,"number":68,"title":"Sporadic QueryView Error","user":{"login":"mpaul31","id":206767,"avatar_url":"https://avatars.githubusercontent.com/u/206767?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaul31","html_url":"https://github.com/mpaul31","followers_url":"https://api.github.com/users/mpaul31/followers","following_url":"https://api.github.com/users/mpaul31/following{/other_user}","gists_url":"https://api.github.com/users/mpaul31/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaul31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaul31/subscriptions","organizations_url":"https://api.github.com/users/mpaul31/orgs","repos_url":"https://api.github.com/users/mpaul31/repos","events_url":"https://api.github.com/users/mpaul31/events{/privacy}","received_events_url":"https://api.github.com/users/mpaul31/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-03-21T13:26:39Z","updated_at":"2015-03-21T23:54:33Z","closed_at":null,"body":"i have a real simple that view that sporadically errors out. the following code works and then if i call it again it would return null for the rows collection. i'm also using cloudant. also, i'm not sure if cloudant only allows so many calls per second to a view (no clue)??\r\n\r\n            try {\r\n                var result = Client.Views.QueryAsync<Measurement>(new QueryViewRequest(\"uom\", \"all_view\")).Result;\r\n\r\n                return Ok(result.Rows.Select(r => r.Value));\r\n            }\r\n            catch (Exception e) {\r\n                var log = e.Message;\r\n            }\r\n\r\n            return null;\r\n\r\nview\r\nfunction(doc) {\r\n  if (doc.$doctype === \"measurement\") {\r\n      emit(doc._id, doc);\r\n  }\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/danielwertheim/mycouch/issues/comments/84475375","html_url":"https://github.com/danielwertheim/mycouch/issues/68#issuecomment-84475375","issue_url":"https://api.github.com/repos/danielwertheim/mycouch/issues/68","id":84475375,"user":{"login":"mpaul31","id":206767,"avatar_url":"https://avatars.githubusercontent.com/u/206767?v=3","gravatar_id":"","url":"https://api.github.com/users/mpaul31","html_url":"https://github.com/mpaul31","followers_url":"https://api.github.com/users/mpaul31/followers","following_url":"https://api.github.com/users/mpaul31/following{/other_user}","gists_url":"https://api.github.com/users/mpaul31/gists{/gist_id}","starred_url":"https://api.github.com/users/mpaul31/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpaul31/subscriptions","organizations_url":"https://api.github.com/users/mpaul31/orgs","repos_url":"https://api.github.com/users/mpaul31/repos","events_url":"https://api.github.com/users/mpaul31/events{/privacy}","received_events_url":"https://api.github.com/users/mpaul31/received_events","type":"User","site_admin":false},"created_at":"2015-03-21T23:54:33Z","updated_at":"2015-03-21T23:54:33Z","body":"hmm the status code is Forbidden.\r\n\r\nhere is the dump\r\n\r\nhttps://mpaul31.cloudant.com/macrobolic/_design/food/_view/all_view\\r\\nRequestMethod: GET\\r\\nStatus: Forbidden(403)\\r\\nError:forbidden\\r\\nReason: one of _view, _design, _reader is required for this request\\r\\nContentType:application/json\\r\\nETag: \\r\\n\\r\\nIsEmpty: True\\r\\nTotalRows: 0\\r\\nRowCount: 0\\r\\nOffset: 0\\r\\nUpdateSeq:"}}