Trouble with the GY-86 module

Use the I2C address scanner to check whether I2C communication is working. You may be missing the required pullup resistors on SDA and SCL.