GSR learn how to fish :
Heterocyclic Chemistry
by J. A. Joule, K. Mills
one question FeLiXe,the nitrogen atom in the starting material can act as a nucleophile/base,
in your mech. protonation of the carboxylic acid and amide oxygen has happened while the nitrogen atom has been left intact , is this valid?
The cabonyl oxygen has a great tendency of being protonated but comparing the Nucleophilicity/basicity of nitrogen in an amine with that of oxygen in an amide or carboxylic acid it occurs to me that the amine nitrogen is the center which gets protonated , please correct me if my argument dose not stand.