{"action":"opened","issue":{"url":"https://api.github.com/repos/amir20/clashstats/issues/178","repository_url":"https://api.github.com/repos/amir20/clashstats","labels_url":"https://api.github.com/repos/amir20/clashstats/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/amir20/clashstats/issues/178/comments","events_url":"https://api.github.com/repos/amir20/clashstats/issues/178/events","html_url":"https://github.com/amir20/clashstats/issues/178","id":322625791,"number":178,"title":"aiohttp.client_exceptions.ContentTypeError in GET /clan/UGJPVJR.json","user":{"login":"amir20","id":260667,"avatar_url":"https://avatars3.githubusercontent.com/u/260667?v=4","gravatar_id":"","url":"https://api.github.com/users/amir20","html_url":"https://github.com/amir20","followers_url":"https://api.github.com/users/amir20/followers","following_url":"https://api.github.com/users/amir20/following{/other_user}","gists_url":"https://api.github.com/users/amir20/gists{/gist_id}","starred_url":"https://api.github.com/users/amir20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amir20/subscriptions","organizations_url":"https://api.github.com/users/amir20/orgs","repos_url":"https://api.github.com/users/amir20/repos","events_url":"https://api.github.com/users/amir20/events{/privacy}","received_events_url":"https://api.github.com/users/amir20/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-13T20:45:39Z","updated_at":"2018-05-13T20:45:39Z","closed_at":null,"author_association":"OWNER","body":"## Error in ClashLeaders\n\n**aiohttp.client_exceptions.ContentTypeError** in **GET /clan/UGJPVJR.json**\n0, message='Attempt to decode JSON with unexpected mimetype: text/html'\n\n[View on Bugsnag](https://app.bugsnag.com/clash-leaders/clashleaders/errors/5af8a3f3eb0a7e001860b1f6?event_id=5af8a3f3eb0a7e001860b1f5&i=gh&m=ci)\n\n## Stacktrace\n\n    clashleaders/clash/api.py:39 - __fetch_with_session\n    clashleaders/clash/api.py:33 - __fetch\n    clashleaders/clash/api.py:60 - find_clan_by_tag\n    clashleaders/model/clan.py:60 - fetch_and_save\n    clashleaders/views/clan.py:121 - clan_from_days_ago\n    clashleaders/views/clan.py:40 - clan_detail_json\n\n[View full stacktrace](https://app.bugsnag.com/clash-leaders/clashleaders/errors/5af8a3f3eb0a7e001860b1f6?event_id=5af8a3f3eb0a7e001860b1f5&i=gh&m=ci)\n\n*Created automatically via Bugsnag*"}}
{"actor":{"display_login":"amir20"}}