Cardi B had a "twerk" wardrobe accident in Chicago this weekend.

Cardi B was performing at the  2018 B96 Pepsi Jingle Bash at Allstate Arena in Chicago this weekend, and she had an embarrassing malfunction.

Cardi was twerking to Bodak Yellow, when she twerked a little too hard - and she exposed more than she wanted to her fans.

Luckily Cardi's fans were very understanding. Most of them laughed off the embarrassing mishap along with Cardi, who told the fans "WHOOPS". She continued the performance without a hitch - and her fans LOVED every minute of it.

Here are pics from the event:

BGUS_1429298_053
BGUS_1429298_049

Here's a pic from when the accident happened:

BGUS_1429401_002

Cardi announced last week that she's divorcing her husband Offset, after allegedly catching him cheating. Throughout Cardi's relationship with Offset, there have been rumors of his cheating. 

It now looks like Cardi's had enough, and is prepared to end her marriage. 

According to Cardi B, the love was real and the split is, too.

The rapper took to her Instagram Live Sunday in an expletive-filled chat where she spoke out about her recent breakup with her husband, fellow rapper Offset.

"There's a kid involved," Cardi said in the video, which was also posted on YouTube. "Ain't no type of publicity that I would ever want that would have my daughter looking at me crazy when she gets older."

The couple secretly married in September 2017 and are the parents of a daughter, Kulture Kiari, who was born in July.