2-Azidobenzoic acid has undergone rearrangement into 2-[(2-carboxyphenyl)amino]-6-formylnicotinic acid under irradiation in aqueous-organic media in the presence of acetates of alkali or alkaline earth metals. The structure of the resulting compound has been elucidated by methods of mass and NMR spectroscopy.