Added error-handling on API call.
<= mixup oops.