Error: server returned results with length 2, expected length of 1