If the wrist stops operating properly and displays a runtime error, there is one most likely cause.
The wrist has disconnected during operation. Check all wires and ensure that each has a secure connection. Check LED status lights for each wrist motor, noting any red flashing lights.
Move the arm to extended/off position, power down, and restart the robot.