Throttle position sensor

Hey guys have a 2012 polaris xp850 and im throwing the 520 194-7 code took it into the dealership they checked throttle position sensor everything ok, checked handlebars things were not pinched and still throwing code now dealership wants to replace main wiring harness 680.00 for harness and then labor any help with this problem would greatly be appreciated