{"action":"closed","issue":{"url":"https://api.github.com/repos/tools/godep/issues/495","repository_url":"https://api.github.com/repos/tools/godep","labels_url":"https://api.github.com/repos/tools/godep/issues/495/labels{/name}","comments_url":"https://api.github.com/repos/tools/godep/issues/495/comments","events_url":"https://api.github.com/repos/tools/godep/issues/495/events","html_url":"https://github.com/tools/godep/issues/495","id":164701669,"number":495,"title":"How to godep restore from a private bitbucket repository","user":{"login":"mikepc","id":878739,"avatar_url":"https://avatars.githubusercontent.com/u/878739?v=3","gravatar_id":"","url":"https://api.github.com/users/mikepc","html_url":"https://github.com/mikepc","followers_url":"https://api.github.com/users/mikepc/followers","following_url":"https://api.github.com/users/mikepc/following{/other_user}","gists_url":"https://api.github.com/users/mikepc/gists{/gist_id}","starred_url":"https://api.github.com/users/mikepc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikepc/subscriptions","organizations_url":"https://api.github.com/users/mikepc/orgs","repos_url":"https://api.github.com/users/mikepc/repos","events_url":"https://api.github.com/users/mikepc/events{/privacy}","received_events_url":"https://api.github.com/users/mikepc/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-07-10T06:08:50Z","updated_at":"2017-02-05T21:08:19Z","closed_at":"2017-02-05T21:08:19Z","body":"### Expected behavior\n\nPackages in a private repository would be restored.\n### Actual behavior\n\nI receive an error:\n\ngodep: error downloading dep (bitbucket.org/XXX/logging): https://api.bitbucket.org/1.0/repositories/XXX/logging: 403 FORBIDDEN\ngodep: Error downloading some deps. Aborting restore and check.\n### Steps to reproduce behavior\n\nCreate a private bitbucket repository, attempt to restore using godep under go 1.5.2\n### `godep version` output\n\ngodep v74 (darwin/amd64/go1.5.2)\n### `go version` output\n\ngo version go1.5.2 darwin/amd64\n### Contents of Godeps.json file\n\n{\n    \"ImportPath\": \"bitbucket.org/XXX/user\",\n    \"GoVersion\": \"go1.5\",\n    \"GodepVersion\": \"v74\",\n    \"Deps\": [\n        {\n            \"ImportPath\": \"bitbucket.org/XXX/logging\",\n            \"Rev\": \"77d14a76024aa4364f79347464dc39f1f0b3188f\"\n        },\n### Contents of .gitconfig\n\n[url \"git@bitbucket.org:\"]\n    insteadOf = https://bitbucket.org/\n\n(I also tried api.bitbucket.org, with and without the sub-directories)\n"}}
{"actor":{"display_login":"freeformz"}}