Hey Stacey, sorry to hear you're in pain and not sleeping
I had cramps/stomach pain around 25 weeks. I knew it wasn't contractions or labour as there was no tightening at all, it just felt different. I got it checked by my ob and he said it was renal colic - ie wind!! It was really really uncomfortable though, worst in my back and round my front too. I found doing some yoga poses helped, but they were lying on my back, probably not something you want to try at this stage of pregnancy. You could try childs pose though (with a pillow or two under your chest to give your belly room).
I also ended up with a UTI and severe kidney pain the following week, they weren't sure whether they were related but the kidney pain was quite distinct, feel like someone was sticking a spear in my back!
I was given quite strong painkillers for that but they can't be used in late pregnancy (the particular ones I had).
Hope you get to the bottom of it soon