Fail on empty responses from the Core API

Closes #52