Handle http errors from validator