InterpolatingPolynomial::ipdup
An error occurs because the first and last pair have the same first element:
InterpolatingPolynomial[{{2, 0}, {3, 1}, {2, 2}}, x]This shows valid arguments in InterpolatingPolynomial:
InterpolatingPolynomial[{{2, 0}, {3, 1}, {0, 2}}, x]