Unable to get object handle from GLTFLoader

I tried following this older post but could not understand the problem with my code.