handle http errors that have no JSON response