handle linkedin errors