Fix #97. Do not parse data if there is an error