Have a problem I need some help with.

Bought a chinese spindle and VFD 2.2Kw and have a voltage issue. Seems that voltage is leaking and when i touch my cnc table at time i get shocked. I tried running a ground wire from my outside ground rod to the table but as soon as I start the spindle it throws an error code.

Any idea's