Here are your parts
Parts for Whirlpool GBD277PRS01 Oven - AppliancePartsPros.comSee the attachment for the tech sheet.
I cannot say which part is bad.
The errors are basically the same.
I would go with the control panel first.
Note that if you purchase it from AppliancePartsPros you can return it if it does not fix the problem.
Please see their return police.
Perhaps try the following before ordering anything.
Connector Cleaning / Checking
Unplug the unit or flip the breaker off.
Open it up
Remove the ribbon cable from the keypad to the control board at the control board.
Clean the edge connector. Use electronics contact cleaner or isopropyl alcohol.
If it is the type where there is not a connector just the insulation is removed, it can be cleaned with a pencil eraser. Do not use an ink eraser as it is too abrasive.
Check the tracks in the ribbon cable for hairline cracks. A magnifying glass helps here.
Would not hurt to clean the connector on the board. Use electronics contact cleaner or isopropyl alcohol and a tooth brush. Be gentle and do not reconnect till all the solvent evaporates.
Reconnect everything and give it a try.