That is the correct recipe, but if you're cooking level is low there's a high chance you burn the ingredients.
You can save before trying if you don't have that many ingredients and try again until you hit it.
Clicking repeatedly on the pan while cooking should also raise your success rate.