hello dato_georgia
well trying to repair the h-bridge did change symptoms and error codes but the code 17 is Right Motor, faulty field circuit, and code 19 is Right Motor, Field Over-current.
As a general practice is is best to replace the h-bridge board and not repair is as you cannot possibly know every component on it that may be bad, also the IGBT Motor transistor should also be replaced at the same time because the h-bridge can actually cause damage to the drive transistor. (at least the manual suggests changing them both when the h-bridge board is being replaced.
As long as you have verified that the right drive motor and sensor circuits are in fact OK and none of the cables or sensor wires are shorted or damaged and the motor itself is not shorted in ANY way then the h-bridge board and/or drive transistor are usually the issue.
And lastly the logic card can get damaged as well but from my experience this is rare but it can happen.
This is ONLY to be used to report flooding, spam, advertising and problematic (harassing, abusive or crude) posts.