pilot lights but main burner won't

My oven’s main burner won’t light even though the igniter and pilot will light. The top burners/igniters work fine. There’s no smell of gas so I assume there’s no gas getting to the main burner.