{"action":"opened","issue":{"url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/11","labels_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/11/comments","events_url":"https://api.github.com/repos/aws/aws-codedeploy-agent/issues/11/events","html_url":"https://github.com/aws/aws-codedeploy-agent/issues/11","id":74784553,"number":11,"title":"404 Error on BundleDownload for private repo","user":{"login":"masyed","id":8048648,"avatar_url":"https://avatars.githubusercontent.com/u/8048648?v=3","gravatar_id":"","url":"https://api.github.com/users/masyed","html_url":"https://github.com/masyed","followers_url":"https://api.github.com/users/masyed/followers","following_url":"https://api.github.com/users/masyed/following{/other_user}","gists_url":"https://api.github.com/users/masyed/gists{/gist_id}","starred_url":"https://api.github.com/users/masyed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/masyed/subscriptions","organizations_url":"https://api.github.com/users/masyed/orgs","repos_url":"https://api.github.com/users/masyed/repos","events_url":"https://api.github.com/users/masyed/events{/privacy}","received_events_url":"https://api.github.com/users/masyed/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-09T23:39:03Z","updated_at":"2015-05-09T23:39:03Z","closed_at":null,"body":"Hi Guys,\r\nI am getting this error on deployments. This is from the log:\r\n\r\nERROR [codedeploy-agent(26296)]: InstanceAgent::Plugins::CodeDeployPlugin::CommandExecutor: Could not download bundle at 'https://api.github.com/repos/homelyhub/ae-crm/tarball/bb0bb01d4180c737f8d1301d8f3da4543993ecdb'. Server returned code 404 'Not Found'\r\n\r\nThis is a private repo, so i created a Personal Access Token with \"repo\" scope and added the Token ID to the \"Github Token\" field under the AWS CodeDeploy Service.\r\n\r\nStill the error happens. I am not sure if the codedeploy-agent gets this Token ID injected to it by the service when the deployment is called?\r\n\r\nAny help will be appreciated.\r\n\r\nregards"}}