As the error was carried out because of the god Indra, he grants Hanuman a wish that his overall body might be as solid as Indra's Vajra, Which his Vajra also can not harm him. Together with Indra other gods have also granted him wishes: the God Agni granted Hanuman https://cassv864tbh1.blogoxo.com/37284193/hanuman-options