Report this

What is the reason for this report?

API v2 - You specified an invalid image for Droplet creation.

Posted on June 23, 2014

As you read the title when i make request with PHP cURL i get the response message of invalid image.

I can see all the image listings “/v2/images/” including the one i request with JSON data which looks like this: <pre> { “name”: “My-Droplet”, “region”: “nyc1”, “size”: “4gb”, “image”: 4201396 } </pre> Now the image 4201396 is totally exist and I also able to get image details “/v2/images/4201396”.

Why the droplet creation API method didn’t recognize the image id? How can i prevent the error? And why the error occurred?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.