Toddler won’t poop in diaper or toilet

We started potty training and for the past few days my daughter won’t poop in her diaper or the potty. She’s miserable and saying poo poo while crying. I’ve given her high fiber foods and lots of water. I put her diaper back on, but she still won’t go in the diaper.