passenger airbag on 2005 Toyota Corolla

My passenger occupancy sensor is not working properly. Is it the sensor or the wiring?

Asked by for the 2005 Toyota Corolla
This is often caused by damage to the sensor. Has someone spilled a beverage on the seat?