Error: The argument should be an array of numbers of length 3

Might this be your solution?