This sensor gives you the PO717 code
Same same procedure on most Scion tC and Toyota Camrys as stated there are two sensors in this transmission. They do exactly the same thing give exactly the same code. Here is a link to purchase one I recommend replacing both because if you only do one it’s a 50-50 chance that you solve the problem.
Check this out at Amazon.com
APDTY 028714 Transmission Output Revolution Speed Sensor Fits Select 1992-2015 Lexus Toyota Scion (Check Fitment Chart To Verify This Fits Your Vehicle; Replaces 89413-08020, 89411-33010, 89413-24010) https://www.amazon.com/dp/B00C6KIBDA?ref=yo_pop_ma_swf