Image Resource not found via a get by slug in API

  • Posted November 18, 2014

Hi, Am experiencing an issue with a snapshot that i created via the API, when i try to spin up another droplet using it as an image, it fails. when i try to get the image by the slug via the API, I get The resource you were accessing could not be found

But when i get another snapshot image which was not created by the API, it responds without fail What could be the problem ? Thanks


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Could you provide more details of the API calls you were making? Generally the error:

{"id":"not_found","message":"The resource you were accessing could not be found."}

is only returned if you are trying to access an endpoint that does not exist. It’s likely there is a typo in the URL. For most image related problems, you get a more specific error message.

If the image doesn’t exist, you get:

{"id":"unprocessable_entity","message":"You specified an invalid image for Droplet creation."}

If it’s not available in the region you are trying to launch it in, you get:

{"id":"unprocessable_entity","message":"The image you specified is not available in the selected region, you can transfer it to this region from the images pages."}