interior light won't burn with open doors on 1990 Toyota Camry

The interior light will not come on when you open the door, but when you flip the overhead light switch to the light position, the bulb will burn

Asked by for the 1990 Toyota Camry
sounds like the switch in the doorjamb