Error in #error "Please specify your BLYNK_TEMPLATE_ID and BLYNK_TEMPLATE_NAME"

You need to move the three lines of firmware configuration to the top of the sketch.

Pete.