How much torque is on your load and what is your Decel time? If your decel time is too short you will have too much regenerative current feeding back into your drive. A properly sized braking resister might help.
JMHO