{"action":"opened","issue":{"url":"https://api.github.com/repos/snarfed/bridgy/issues/437","labels_url":"https://api.github.com/repos/snarfed/bridgy/issues/437/labels{/name}","comments_url":"https://api.github.com/repos/snarfed/bridgy/issues/437/comments","events_url":"https://api.github.com/repos/snarfed/bridgy/issues/437/events","html_url":"https://github.com/snarfed/bridgy/issues/437","id":98808872,"number":437,"title":"handle FB 500 \"Permissions error\" (code 200)","user":{"login":"snarfed","id":778068,"avatar_url":"https://avatars.githubusercontent.com/u/778068?v=3","gravatar_id":"","url":"https://api.github.com/users/snarfed","html_url":"https://github.com/snarfed","followers_url":"https://api.github.com/users/snarfed/followers","following_url":"https://api.github.com/users/snarfed/following{/other_user}","gists_url":"https://api.github.com/users/snarfed/gists{/gist_id}","starred_url":"https://api.github.com/users/snarfed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snarfed/subscriptions","organizations_url":"https://api.github.com/users/snarfed/orgs","repos_url":"https://api.github.com/users/snarfed/repos","events_url":"https://api.github.com/users/snarfed/events{/privacy}","received_events_url":"https://api.github.com/users/snarfed/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/snarfed/bridgy/labels/listen","name":"listen","color":"207de5"},{"url":"https://api.github.com/repos/snarfed/bridgy/labels/now","name":"now","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-03T18:17:04Z","updated_at":"2015-08-03T18:17:04Z","closed_at":null,"body":"curently getting this error for [876919085679179](https://www.brid.gy/facebook/876919085679179). evidently a [permissions error](https://developers.facebook.com/docs/facebook-login/permissions/v2.4#handling), but it's odd that FB is returning HTTP 500 instead of 4XX. regardless, the right reaction is probably just to disable them.\r\n\r\n[example log](https://brid-gy.appspot.com/log?start_time=1438618594&key=aglzfmJyaWQtZ3lyIQsSDEZhY2Vib29rUGFnZSIPODc2OTE5MDg1Njc5MTc5DA):\r\n\r\n```\r\nFetching https://graph.facebook.com/v2.2/me/posts?offset=0&limit=50&access_token=...... kwargs {'headers': {'If-None-Match': u'\"28e71984f522d836458ca00536ff072739389d93\"'}}\r\nError 500, response body: {\r\n  \"error\": {\r\n    \"message\":\"Permissions error\",\r\n    \"type\":\"FacebookApiException\",\r\n    \"code\":200\r\n  }\r\n}\r\nHTTP Error 500: Internal Server Error\r\nTraceback (most recent call last):\r\n...\r\n  File \"/base/data/home/apps/s~brid-gy/3.386141412475663659/tasks.py\", line 109, in post\r\n    source_updates.update(self.poll(source))\r\n  File \"/base/data/home/apps/s~brid-gy/3.386141412475663659/tasks.py\", line 161, in poll\r\n    cache=cache)\r\n  File \"/base/data/home/apps/s~brid-gy/3.386141412475663659/facebook.py\", line 107, in get_activities_response\r\n    resp = self.gr_source.get_activities_response(group_id=SELF, **kwargs)\r\n  File \"/base/data/home/apps/s~brid-gy/3.386141412475663659/local/lib/python2.7/site-packages/granary/facebook.py\", line 226, in get_activities_response\r\n    resp = self.urlopen(url, headers=headers, parse_response=False)\r\n  File \"/base/data/home/apps/s~brid-gy/3.386141412475663659/local/lib/python2.7/site-packages/granary/facebook.py\", line 1225, in urlopen\r\n    timeout=appengine_config.HTTP_TIMEOUT)\r\n...\r\nHTTPError: HTTP Error 500: Internal Server Error\r\n```"}}