Do not throw exception on 404 and 401 errors