The isset check needs to be !empty
The isset check needs to be !empty

The `isset` check fails when `$json['error']` is set to an empty string, which is sometimes the case.
sailthru/sailthru-php5-client