You have the wrong 3-pin plugged incorrectly (wrong pin left off). I would switch to the other open pin to see if it works. You are getting an error because it isn't detecting the fan connected to the CPU_Fan slot.
You were right. Switched the wire and now the fan works.