{"action":"created","issue":{"url":"https://api.github.com/repos/drdoctr/doctr/issues/311","repository_url":"https://api.github.com/repos/drdoctr/doctr","labels_url":"https://api.github.com/repos/drdoctr/doctr/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/drdoctr/doctr/issues/311/comments","events_url":"https://api.github.com/repos/drdoctr/doctr/issues/311/events","html_url":"https://github.com/drdoctr/doctr/issues/311","id":348854881,"node_id":"MDU6SXNzdWUzNDg4NTQ4ODE=","number":311,"title":"403 client error on api.github.com","user":{"login":"rabernat","id":1197350,"node_id":"MDQ6VXNlcjExOTczNTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1197350?v=4","gravatar_id":"","url":"https://api.github.com/users/rabernat","html_url":"https://github.com/rabernat","followers_url":"https://api.github.com/users/rabernat/followers","following_url":"https://api.github.com/users/rabernat/following{/other_user}","gists_url":"https://api.github.com/users/rabernat/gists{/gist_id}","starred_url":"https://api.github.com/users/rabernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabernat/subscriptions","organizations_url":"https://api.github.com/users/rabernat/orgs","repos_url":"https://api.github.com/users/rabernat/repos","events_url":"https://api.github.com/users/rabernat/events{/privacy}","received_events_url":"https://api.github.com/users/rabernat/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-08T19:10:40Z","updated_at":"2018-08-08T19:14:35Z","closed_at":null,"author_association":"NONE","body":"I am trying to set up doctr on a new repo following the instructions in the readme. I have the latest version of doctr (1.7.3).\r\n\r\nAfter I enter my authentication code, I get a 403 Client Error.\r\n\r\n```\r\n$ doctr configure\r\nWelcome to Doctr.\r\n\r\nWe need to ask you a few questions to get you on your way to automatically\r\ndeploying from Travis CI to GitHub pages.\r\n\r\nWhat is your GitHub username? rabernat\r\nEnter the GitHub password for rabernat: \r\nA two-factor authentication code is required: sms\r\nAuthentication code: ******\r\nTraceback (most recent call last):\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/bin/doctr\", line 6, in <module>\r\n    sys.exit(doctr.__main__.main())\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/doctr/__main__.py\", line 517, in main\r\n    return process_args(get_parser(config=config))\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/doctr/__main__.py\", line 249, in process_args\r\n    return args.func(args, parser)\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/doctr/__main__.py\", line 383, in configure\r\n    login_kwargs = GitHub_login()\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/doctr/local.py\", line 141, in GitHub_login\r\n    return GitHub_login(username=username, password=password, OTP=OTP, headers=headers)\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/doctr/local.py\", line 145, in GitHub_login\r\n    r.raise_for_status()\r\n  File \"/Users/rpa/miniconda3/envs/geo_scipy/lib/python3.6/site-packages/requests/models.py\", line 935, in raise_for_status\r\n    raise HTTPError(http_error_msg, response=self)\r\nrequests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://api.github.com/\r\n```\r\n\r\nI am totally stuck on this issue! Any help would be greatly appreciated."},"comment":{"url":"https://api.github.com/repos/drdoctr/doctr/issues/comments/411520132","html_url":"https://github.com/drdoctr/doctr/issues/311#issuecomment-411520132","issue_url":"https://api.github.com/repos/drdoctr/doctr/issues/311","id":411520132,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMTUyMDEzMg==","user":{"login":"rabernat","id":1197350,"node_id":"MDQ6VXNlcjExOTczNTA=","avatar_url":"https://avatars1.githubusercontent.com/u/1197350?v=4","gravatar_id":"","url":"https://api.github.com/users/rabernat","html_url":"https://github.com/rabernat","followers_url":"https://api.github.com/users/rabernat/followers","following_url":"https://api.github.com/users/rabernat/following{/other_user}","gists_url":"https://api.github.com/users/rabernat/gists{/gist_id}","starred_url":"https://api.github.com/users/rabernat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rabernat/subscriptions","organizations_url":"https://api.github.com/users/rabernat/orgs","repos_url":"https://api.github.com/users/rabernat/repos","events_url":"https://api.github.com/users/rabernat/events{/privacy}","received_events_url":"https://api.github.com/users/rabernat/received_events","type":"User","site_admin":false},"created_at":"2018-08-08T19:14:35Z","updated_at":"2018-08-08T19:14:35Z","author_association":"NONE","body":"cc @tjcrone"}}
{"actor":{"display_login":"rabernat"}}