GY max30100 sensor not working

Which led? If it's the power led on the Arduino, you have connected things wrong or your sensor is faulty.

Further, which board are you using?