Did some corrections at HTTPErrorException