Question

Image ids

Posted April 18, 2014 5.5k views
Hi, For creating a droplet with distribution Ubuntu 13.10 x64 I usually used image_id '1505699'. However, it seems that this image_id is changed. When I create a droplet with this I get the following error. --> digitalocean: Error creating droplet: Received error from DigitalOcean (404): You specified an invalid image for Droplet creation. To solve this problem I had to fetch all the images and find out that this distribution has a new image_id called '3101918'. Is there anything changed?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

2 answers
Right. You can always retrieve the full, up to date list with the API:

https://api.digitalocean.com/images/?client_id=[client_id]&api_key=[api_key]&filter=global

See: https://developers.digitalocean.com/v1/images/
All our images were recently updated to include new versions of OpenSSL that are patched against the Heartbleed bug. That's probably why the ID changed :]
Submit an Answer