How soon does the OC occur?
1) If it happens when the motor is actually accelerating, when it has started to run, that is one thing.
2) If it happens fast enough that the motor is not turning yet, that is different.
In case "1", the problem should be with too fast an accel time. What is the motor running? A high inertia load like a big grinding wheel, or a blower may need some cut-and-try adjustment to find a good accel time, too slow ans too fast will often BOTH fail on OC.
If possible, disconnect motor from the machine (belt, shaft coupling, etc), and see if it runs with no load using the VFD.
In case 2), there may be a wiring problem, or even a fault in the VFD.
Check the wiring for unseen wire strands that may be causing a short. If nothing, then disconnect the wires to the motor at the VFD, and then do the normal start. If it works OK, and you can adjust frequency etc, then the VFD likely is OK.
Double check wiring and motor. Reconnect wires at VFD, and disconnect at motor, put wire nuts on wire ends to avoid shorts. Run the VFD again. If it works, the wires are OK to the motor, so double check motor connections, then re-connect motor and try again.