Blood in urine (hematuria) is not a typical complication of an upper endoscopy, which primarily examines the esophagus, stomach, and the first part of the small intestine. If you are experiencing blood in your urine after undergoing an upper endoscopy, it could be coincidental and related to another issue, such as a urinary tract infection, kidney stones, or another underlying condition.
It's important to report any unusual symptoms, including blood in your urine, to your healthcare provider as soon as possible. They can evaluate your symptoms and determine whether further investigation or treatment is necessary.