Postural tachycardia syndrome often, or POTS, can cause a variety of symptoms, amongst right-sided rib pain. This pain is commonly felt on the side and aggravates when in an upright position.
Despite POTS itself https://oncedirectory.com/listings13142616/postural-tachycardia-syndrome-and-right-sided-rib-discomfort