It sounds like gall stones/kidney stones.
I have been experiencing pain in my upper back wrapping around to the right side of my rib, just like you described. It typically only happens when I'm working and on my feet and I also lift a lot at my job. Mine isn't quite as painful as yours sounds
so I haven't been too concerned but I would ask your doctor about it.
my daughters already head down.. she has been for weeks. she dropped a few weeks ago too. The on call dr called me back she said she thinks its the baby separating my ribs. Ive read online it could be possible gallstones but she didnt mention that at all
I did my daughter was breech i was very uncomfortable for weeks until she flipped.
its in my back radiating to the front mostly on the right side..