{"action":"created","issue":{"url":"https://api.github.com/repos/HackerNews/API/issues/6","labels_url":"https://api.github.com/repos/HackerNews/API/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/HackerNews/API/issues/6/comments","events_url":"https://api.github.com/repos/HackerNews/API/issues/6/events","html_url":"https://github.com/HackerNews/API/pull/6","id":128453426,"number":6,"title":"401 while requesting for /v0/item for comments","user":{"login":"hidroh","id":1978015,"avatar_url":"https://avatars.githubusercontent.com/u/1978015?v=3","gravatar_id":"","url":"https://api.github.com/users/hidroh","html_url":"https://github.com/hidroh","followers_url":"https://api.github.com/users/hidroh/followers","following_url":"https://api.github.com/users/hidroh/following{/other_user}","gists_url":"https://api.github.com/users/hidroh/gists{/gist_id}","starred_url":"https://api.github.com/users/hidroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hidroh/subscriptions","organizations_url":"https://api.github.com/users/hidroh/orgs","repos_url":"https://api.github.com/users/hidroh/repos","events_url":"https://api.github.com/users/hidroh/events{/privacy}","received_events_url":"https://api.github.com/users/hidroh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-25T03:52:40Z","updated_at":"2016-01-25T08:40:16Z","closed_at":"2016-01-25T04:48:47Z","pull_request":{"url":"https://api.github.com/repos/HackerNews/API/pulls/6","html_url":"https://github.com/HackerNews/API/pull/6","diff_url":"https://github.com/HackerNews/API/pull/6.diff","patch_url":"https://github.com/HackerNews/API/pull/6.patch"},"body":"Hi please ignore the changes in this PR, I just use it as a way to log issue since the repo does not support issues.\r\n\r\nIt looks like a lot of comment items returns 401 while being requested, and I have received multiple reports from my client's users.\r\n\r\nE.g.:\r\nStory returns 200: https://hacker-news.firebaseio.com/v0/item/10963401.json\r\nComment under this story returns 401: https://hacker-news.firebaseio.com/v0/item/10963624.json\r\n\r\n```json\r\n{\r\n    \"error\": \"Permission denied\"\r\n}\r\n```\r\n\r\nA sample curl:\r\n```bash\r\n$ curl --verbose https://hacker-news.firebaseio.com/v0/item/10963624.json\r\n*   Trying 104.197.145.189...\r\n* Connected to hacker-news.firebaseio.com (104.197.145.189) port 443 (#0)\r\n* TLS 1.2 connection using TLS_DHE_RSA_WITH_AES_128_GCM_SHA256\r\n* Server certificate: *.firebaseio.com\r\n* Server certificate: Google Internet Authority G2\r\n* Server certificate: GeoTrust Global CA\r\n> GET /v0/item/10963624.json HTTP/1.1\r\n> Host: hacker-news.firebaseio.com\r\n> User-Agent: curl/7.43.0\r\n> Accept: */*\r\n>\r\n< HTTP/1.1 401 Unauthorized\r\n< Content-Length: 36\r\n< Content-Type: application/json; charset=utf-8\r\n< Cache-Control: no-cache\r\n< Strict-Transport-Security: max-age=31556926; includeSubDomains; preload\r\n<\r\n{\r\n  \"error\" : \"Permission denied\"\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/HackerNews/API/issues/comments/174437497","html_url":"https://github.com/HackerNews/API/pull/6#issuecomment-174437497","issue_url":"https://api.github.com/repos/HackerNews/API/issues/6","id":174437497,"user":{"login":"cheeaun","id":2296,"avatar_url":"https://avatars.githubusercontent.com/u/2296?v=3","gravatar_id":"","url":"https://api.github.com/users/cheeaun","html_url":"https://github.com/cheeaun","followers_url":"https://api.github.com/users/cheeaun/followers","following_url":"https://api.github.com/users/cheeaun/following{/other_user}","gists_url":"https://api.github.com/users/cheeaun/gists{/gist_id}","starred_url":"https://api.github.com/users/cheeaun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cheeaun/subscriptions","organizations_url":"https://api.github.com/users/cheeaun/orgs","repos_url":"https://api.github.com/users/cheeaun/repos","events_url":"https://api.github.com/users/cheeaun/events{/privacy}","received_events_url":"https://api.github.com/users/cheeaun/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T08:40:16Z","updated_at":"2016-01-25T08:40:16Z","body":"Just a note that I got this error too few hours ago. Wondering if this is a bug on Firebase side?"}}