We almost had a Janet Jackson problem. You know, when Nicki Minaj had a minor slip-up at the VMAs with her outfit. Well, Nicki had the chance to explain what nearly went wrong during her time with Ellen.

"Well, I had - I don't know - I think 40-50 seconds to change from the Anaconda outfit into the Bang Bang outfit. Originally, I was just gonna have a skirt that wrapped around the green. But then, when I realized Jessie and Ariana were wearing black and white, I didn't wanna ruin the shot with me wearing a green bra with black and white, she explained.

Then she explained how she almost fell victim to the nip-slip.

"So I was like, I have to put on a black dress really quickly. And, sure enough, we didn't have a real quick change right there. So it was literally my whole team just standing there holding curtains around me. And it was pitch black. I couldn't see anything. And right before it was time for me to walk out. They went to zip it up and NOTHING," she said.

"I didn't have any underwear on. No underwear. No bra because I had just take off the "Anaconda" outfit. So, I was butt ass naked."

Luckily, Nicki was able to complete her performance of "Bang Bang" without everything being leaked out of dress.

Previously: Usher Talks Working With Nicki Minaj And Drake On New Album
Watch Ellen DeGeneres Twerk In Remake Of Nicki Minaj's "Anaconda" Video

More From XXL