manage url parsing errors