Whirlpool Oven comes on for 3 seconds and goes off

My Whirlpool Oven broils fine and the cooktops work without any problems. The bake function lights up for 3 seconds and goes off. It tries after 2 minutes, it ignites and comes on for 3 seconds and goes off again. I can’t figure it out. Any ideas?
Thanks.

Test your gas valve with an ohm meter.

Nat