Check terminal blocks and gShield connections.
Tighten any loose connections. If this is a re-occuring problem, consider adding wire terminals (such as spade or ferrule terminals) to the end of each wire.
Consider connecting the shielding from the stepper motor cable to ground.
Review wiring diagram from the instructions to ensure everything is connected properly.