Is there a front panel indication on the drive that is telling you there is a ground fault in the system? Is protection tripping? What are the symptoms? Is there any indication whether the fault is on load or line side of the drive?
__________________
ALL "electrical" failures are mechanical in nature.
I have seen ground faults recover without much work(occasionally)--Either remake the connections or dry them if they are in a damp environment. Sometime the HMI may go bad, but I don't know anything about your inverter--If all connections are clean and dry and you still have a ground fault, check the motor insulation with a Megohmmeter-DISCONNECT THE DRIVE AND DON'T MEG WITH IT CONNECTED--IT CAN DAMAGE OR DESTROY IT. I start at the drive, because that way you can meg the conductors and motor--If they meg bad go downstream and break connections at the motor and check both ways. If the motor and conductors meg good(sometimes I run the motor across the line to verify it, if possible) then you may have a bad inverter.
If the problem was upstream(I don't think it's likely) then it should show up as a feed fault, and the drive faulting wouldn't remove it and you would be tripping a breaker somewhere.
__________________
Those who believe in telekinetics, raise my hand --Kurt Vonnegut Jr.