PHP API Exceptions

November 6, 2014 2.9k views

I am using this API and trying to call this $droplet = $digitalocean->droplet(); and got Exception Property “DigitalOceanV2\Entity\Image::minSize” should exist, and calling this $image = $digitalOcean->image(); returns Operation timed out after 5007 milliseconds with 0 bytes received.

Please help me to figure out these issues.

2 Answers

This was written by someone outside DO, it appears.

After reading through his API calls, you’re using it correctly (as long as you’re requiring the proper files), so this issue shouldn’t be appearing, unless his API is broken.

Have you managed to solve the problem? Please let me know otherwise :)

Have another answer? Share your knowledge.

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