Intense back pain in the middle

Ja

I have extremely intense pain in the middle/upper back near where kidneys are located. I’m 25 weeks pregnant. I’ve told my doctor several times they just checked me for preterm labor and concluded that it’s because I’m skinny and “all belly” so they ordered me a belly band/belt but my belly isn’t even that big everyone tells me I’m small actually. and I really don’t think it’s that. Like this pain is too intense. Has anyone had this pain ? No lower back pain it’s more towards the middle.