Fans without tickets to a show at Brooklyn’s Barclays Center tried to storm the venue Thursday night, forcing security workers and police to lock the doors.

A representative for the arena said that no one else was permitted into the sold-out Power 105.1 Powerhouse concert after the kerfuffle, and no one — including actual ticketholders — was allowed inside afterward.

The representative said that ticketholders who couldn’t get into the concert could get refunds where they bought them.

Top Celeb Photos: Celeb Activists at Women’s Media Awards

Videos posted to social media show hundreds of fans crowded in the square outside Barclays’ main entrance.

Dozens of other fans took to social media to vent about being locked out. Some even said authorities used tear gas or pepper spray to disperse the crowd.

what is happening why did I just drop $90 to stand outside??? #PowerhouseNYC

— Melanie (@mellabella96) October 27, 2017

@barclayscenter totally disorganized for the #PowerhouseNYC concert, been in line for an hour and no one let in

— Brittany (@soto_says) October 27, 2017

#PowerhouseNYC worst concert ever. Waited in line for an hr and half to get pushed and shoved pepper sprayed by cops and then denied entry

— LoLoFbabyy ������ (@LoLoFBabyy) October 27, 2017

@barclayscenter we paid good money for these tickets when are you gonna let me in? #letmeinpic.twitter.com/qB5ssKnM1j

— Jackie Garraffa (@jjacquelynn) October 26, 2017

i’ve been to @barclayscenter so many times and going to #PowerhouseNYC makes me never wanna go to another concert there again ����‍♀️

— imani (@imanishadae_) October 27, 2017

Despite the lockout, the concert — which included sets by The Weeknd, Migos, French Montana and Cardi B — went on as planned.