EMERGENCY Z Motor Wires

I have an emergency , on my Zaxis motor the wires on the pigtail pulled out of the plastic connector, I pushed the wires back into the connector as far as they would go and they seem to be in there tight, conncted it back to the connector out of the motor, the wire colors are mached up, but i still get a motor fault error what am I doing wrong?

we’ve responded via your support email.