Raise error if response is empty