PHP API Exceptions

Posted November 6, 2014 3.6k 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.

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.

Submit an Answer
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 :)