{"action":"closed","issue":{"url":"https://api.github.com/repos/mitchellh/packer/issues/1792","labels_url":"https://api.github.com/repos/mitchellh/packer/issues/1792/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/packer/issues/1792/comments","events_url":"https://api.github.com/repos/mitchellh/packer/issues/1792/events","html_url":"https://github.com/mitchellh/packer/issues/1792","id":52835589,"number":1792,"title":"Digitalocean creating droplet from custom image, error","user":{"login":"gabriel403","id":118638,"avatar_url":"https://avatars.githubusercontent.com/u/118638?v=3","gravatar_id":"","url":"https://api.github.com/users/gabriel403","html_url":"https://github.com/gabriel403","followers_url":"https://api.github.com/users/gabriel403/followers","following_url":"https://api.github.com/users/gabriel403/following{/other_user}","gists_url":"https://api.github.com/users/gabriel403/gists{/gist_id}","starred_url":"https://api.github.com/users/gabriel403/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabriel403/subscriptions","organizations_url":"https://api.github.com/users/gabriel403/orgs","repos_url":"https://api.github.com/users/gabriel403/repos","events_url":"https://api.github.com/users/gabriel403/events{/privacy}","received_events_url":"https://api.github.com/users/gabriel403/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-24T20:26:34Z","updated_at":"2015-02-24T23:51:59Z","closed_at":"2015-02-24T23:51:59Z","body":"Using this json\r\n\r\n```\r\n{\r\n  \"builders\": [\r\n  {\r\n    \"type\"         : \"digitalocean\",\r\n    \"api_token\"    : \"myapitoken\",\r\n    \"image\"        : \"myprivateimageid\",\r\n    \"region\"       : \"nyc3\",\r\n    \"size\"         : \"512mb\",\r\n    \"snapshot_name\": \"prowl-v2\",\r\n    \"droplet_name\" : \"prowl.io\"\r\n  }],\r\n  \"provisioners\": [{\r\n    \"type\"          : \"puppet-masterless\",\r\n    \"manifest_file\" : \"manifests/prowl.pp\",\r\n    \"module_paths\"  : [\"../../puppet/modules\"]\r\n  }]\r\n}\r\n```\r\n\r\nand running `PACKER_LOG=true packer build prowl-do.json`\r\n\r\nI get \r\n\r\n```\r\n2014/12/24 20:19:26 packer-builder-digitalocean: 2014/12/24 20:19:26 sending new request to digitalocean: https://api.digitalocean.com/v2/droplets buffer: {\"name\":\"prowl.io\",\"region\":\"nyc3\",\"size\":\"512mb\",\"image\":\"\",\"ssh_keys\":[\"605362\"]}\r\n2014/12/24 20:19:27 packer-builder-digitalocean: 2014/12/24 20:19:27 response from digitalocean: {\"id\":\"unprocessable_entity\",\"message\":\"You specified an invalid image for Droplet creation.\"}\r\n```\r\n\r\nseems as if packer is dropping the image name before sending the request.\r\n\r\n```\r\n$ packer version\r\nPacker v0.7.5\r\n```"}}