Endoscopy and other diagnostic tests are generally considered safe, with a risk of minor side effects, such as sore throat, nausea, and bloating. However, the risk of serious complications is low. Prior to undergoing a procedure, it is important to discuss any underlying health issues, as well as any medications or supplements you are taking, with your doctor.