add error name if authorization fail