Postural tachycardia syndrome often, or POTS, can cause a variety of symptoms, including right-sided rib pain. This pain is typically felt on the side and aggravates when in an upright position.
Despite POTS itself https://directory-legit.com/listings13137056/pots-and-right-rib-pain