function name error -- routing of Rest calls failed when calling the particular name