[NH:1]1[C:9]2[C:4](=[N:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[C:2]1[C:10]([O:12][CH2:13]C)=[O:11].C([O-])([O-])=O.[K+].[K+].CCOCC>CO.O>[NH:1]1[C:9]2[C:4](=[N:5][CH:6]=[CH:7][CH:8]=2)[CH:3]=[C:2]1[C:10]([O:12][CH3:13])=[O:11]Add to ethyl 4-azaindole-2-carboxylate 4a (42.3 mmol) in MeOH (50 mL), K2CO3 (1.20 equiv, 50.7 mmol) and stir the suspension with heating to 55° C. for 1 h. Monitor the reaction by tlc (Et2O/hept). When complete, concentrate the reaction in vacuo, dilute with H2O and stir for 15 min. Collect the solid by filtration and dry in a vacuum oven at 65° C. for 3 h to afford about 90% to about 100% of the desired methyl 4-azaindole-2-carboxylate 5a.