DTC 2-2: No Optical Sensor Pulses
WARNING: This page is about a different car, the 2001 Toyota Sienna. However, it is still accessible from the selected car via links, so may be relevant.
Check wiring harness and connectors between power sliding door control unit and power sliding door ECU. See Fig 1-Fig 2 . Repair any damage found. If no damage is found, replace power sliding door control unit. See POWER SLIDING DOOR CONTROL UNIT & ECU under REMOVAL & INSTALLATION.