Actress Julia Louis-Dreyfus says Hillary Clinton Hillary Diane Rodham ClintonWhat Senate Republicans have said about election-year Supreme Court vacancies Bipartisan praise pours in after Ginsburg's death Trump carries on with rally, unaware of Ginsburg's death MORE’s recent struggle with New York City’s subway system belongs on her HBO comedy “Veep.”

“That’s a perfect ‘Veep’ moment,” she said in a New York Times interview published Thursday. "The fact of it being so put under a magnifying glass and blown up was so bizarre. It was stupid and crazy.

ADVERTISEMENT

“I mean, what can she do in that moment?” Louis-Dreyfus asked of the Democratic presidential front-runner. "The card didn’t work.

“She’s got to try to have a sense of humor about it. I suppose you can make a self-deprecating remark. But it has to be innate. The minute there’s any falseness in your behavior, [it] will be picked up on.”

Clinton wrangled with a New York City subway turnstile last week when the machine would not read her fare card.

Critics pounced on the awkward moment, with GOP presidential front-runner Donald Trump Donald John TrumpObama calls on Senate not to fill Ginsburg's vacancy until after election Planned Parenthood: 'The fate of our rights' depends on Ginsburg replacement Progressive group to spend M in ad campaign on Supreme Court vacancy MORE calling the incident “pandering” and “sad.”

Clinton made light of her trials last weekend, jokingly urging New York City Mayor Bill de Blasio (D) to upgrade his city’s transit infrastructure.

“There are a lot of things I could ask you of international, national, state and city importance, but will you fix these metro card slots in the subway?” she asked during the New York City press corps’s annual Inner City dinner. "It took me like five swipes. The little terminal thing kept saying, ‘please swipe again.' I mean, you’ve got to fix that.”

Louis-Dreyfus said such incidents highlight the extra scrutiny Clinton and other female public figures encounter.

“I see it all over the place,” she said. "With all female officials. It’s just interesting to watch behavior [and] people’s reactions to women in power. A stern, decisive man is appealing. There are those who would say a stern, decisive woman is unappealing. Need you know any more than that?"