I'm having the same problem with API installs, I just get "Installation Failed" and there is no array of errors. The variable $res just returns 1. I entered the code exactly as it is in the example, the WordPress install and I did include the sdk.php file at the top.

Other API functions work. I can list all of the scripts without a problem. I can list installs through the API, but install does not work.