As the error was done because of the god Indra, he grants Hanuman a wish that his overall body would be as solid as Indra's Vajra, and that his Vajra could also not hurt him. In conjunction with Indra other gods have also granted him wishes: the God Agni granted https://www.instagram.com/p/DNmhOVwTkT8/