Is this normal?! Tmi

I’m 22 weeks pregnant and I have been seriously constipated for a couple weeks. I can only get balls out. Today I was only able to get legit one tiny ball out and it had some mucus on my actual stool. Is it from me being so constipated? This has never happened before.