What causes the interior light not to come on when the doors are open. on 2004 Nissan Altima

Light used to function okay, now it doesn't.

This is in 20004 Altima with moonroof. Type 2 switch

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
2 answers
DOME LIGHT SWITCH IN D/S DOOR JAM
Bulb failed , or main switch in 'off' position?