{"action":"created","issue":{"url":"https://api.github.com/repos/octokit/octokit.rb/issues/658","labels_url":"https://api.github.com/repos/octokit/octokit.rb/issues/658/labels{/name}","comments_url":"https://api.github.com/repos/octokit/octokit.rb/issues/658/comments","events_url":"https://api.github.com/repos/octokit/octokit.rb/issues/658/events","html_url":"https://github.com/octokit/octokit.rb/pull/658","id":116150713,"number":658,"title":"Add specific error when user has unverified email (for 403s)","user":{"login":"johnpaulashenfelter","id":19890,"avatar_url":"https://avatars.githubusercontent.com/u/19890?v=3","gravatar_id":"","url":"https://api.github.com/users/johnpaulashenfelter","html_url":"https://github.com/johnpaulashenfelter","followers_url":"https://api.github.com/users/johnpaulashenfelter/followers","following_url":"https://api.github.com/users/johnpaulashenfelter/following{/other_user}","gists_url":"https://api.github.com/users/johnpaulashenfelter/gists{/gist_id}","starred_url":"https://api.github.com/users/johnpaulashenfelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnpaulashenfelter/subscriptions","organizations_url":"https://api.github.com/users/johnpaulashenfelter/orgs","repos_url":"https://api.github.com/users/johnpaulashenfelter/repos","events_url":"https://api.github.com/users/johnpaulashenfelter/events{/privacy}","received_events_url":"https://api.github.com/users/johnpaulashenfelter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T16:58:16Z","updated_at":"2015-11-10T17:11:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/octokit/octokit.rb/pulls/658","html_url":"https://github.com/octokit/octokit.rb/pull/658","diff_url":"https://github.com/octokit/octokit.rb/pull/658.diff","patch_url":"https://github.com/octokit/octokit.rb/pull/658.patch"},"body":"A user with an unverified email address gets a 403 error when trying\r\nto create a repository through the API. This can easily happen with a\r\nbrand new user account.\r\n\r\nSome of the 403 errors (abuse, rate limits, etc) already have their\r\nown error subclass to make it easier to work with -- this PR simply\r\nadds a specific Octokit::UnverifiedEmail instead of relying on the\r\nmore generic Octokit::Forbidden error."},"comment":{"url":"https://api.github.com/repos/octokit/octokit.rb/issues/comments/155490695","html_url":"https://github.com/octokit/octokit.rb/pull/658#issuecomment-155490695","issue_url":"https://api.github.com/repos/octokit/octokit.rb/issues/658","id":155490695,"user":{"login":"matthewmccullough","id":24734,"avatar_url":"https://avatars.githubusercontent.com/u/24734?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewmccullough","html_url":"https://github.com/matthewmccullough","followers_url":"https://api.github.com/users/matthewmccullough/followers","following_url":"https://api.github.com/users/matthewmccullough/following{/other_user}","gists_url":"https://api.github.com/users/matthewmccullough/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewmccullough/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewmccullough/subscriptions","organizations_url":"https://api.github.com/users/matthewmccullough/orgs","repos_url":"https://api.github.com/users/matthewmccullough/repos","events_url":"https://api.github.com/users/matthewmccullough/events{/privacy}","received_events_url":"https://api.github.com/users/matthewmccullough/received_events","type":"User","site_admin":true},"created_at":"2015-11-10T17:11:33Z","updated_at":"2015-11-10T17:11:33Z","body":"This would be helpful for a Training platform/app/framework where having verified Email addresses are an important part of the flow in interaction with the students."}}