Unable to set endpoint except through node data