Rep. Alexandria Ocasio-Cortez fired off a tweet on Thursday calling out Kentucky Republicans for posting a photo of an older GOP lawmaker posing with a cutout of her — turns out the politician was a Democratic colleague.

“GOP: Let’s post our older male members next to cardboard cutouts of young female legislators,” the freshman Democrat wrote in the now-deleted tweet.

The problem is that the lawmaker in the photo is Rep. John Yarmuth, a Democrat from Kentucky.

The National Republican Congressional Committee, which works to elect Republican members of the House, quickly pointed out the mistake.

“Maybe if @AOC spent more time interacting with lawmakers and less time making coloring books, she’d recognize the other socialist Democrats in her caucus,” the NRCC wrote in a tweet, linking to Ocasio-Cortez’s posting.

The Kentucky Republican Party tweeted the photo of Yarmuth standing next to the cutout to accuse radical Democrats “like @AOC and #socialism​” of “calling the shots for @KyDems now!​”​

​Twitter users offered their criticism — and advice.

​”​.@AOC has deleted her tweet calling @RepJohnYarmuth a Republican​,” wrote Philip Bailey. ​”​But nothing dies on the internet.​”

Chris Ehrick said “Ugh. That’s unfortunate.”​

​”​I’m a fan of AOC, but ​’​think before you tweet​’​ is a rule for all of us to live by​,” she said.

​Ocasio-Cortez has gotten into hot water before for her gaffes.

​Last December, she said accounting errors at the Pentagon could fund Medicare for All, a claim in which the Washington Post fact-checker awarded her ​four Pinocchios.

​​A spokesman for Ocasio-Cortez didn’t immediately respond to a request for comment. ​