Helen Hunt took to Twitter to share a funny encounter with a Starbucks barista who mistook her for another famous actress. 

Hunt, who starred in the 1990s sitcom "Mad About You," wrote that the worker assured her she knew who she was after taking her order. 

But then she got her drink... 

It turned out that the server thought she was Oscar-winning actress Jodie Foster, though she also misspelled the first name. 

Fox and Friends gave us a side-by-side to compare:

Mom Leaves Toddler in Hot Car While She Goes to Job Orientation

Mom Charged With Child Abuse for Letting 11-Year-Old Son Drive Golf Cart

Hunt's tweet quickly went viral, with some commenters poking fun at the mix-up

Hunt is set to star this fall in a new FOX series called "Shots Fired," which centers around a racially-charged police shooting in a fictional North Carolina town.

The 52-year-old actress signed on to play the governor, joining Richard Dreyfuss, Sanaa Lathan and Stephen Moyer in the cast. 

WATCH: American College Kids Pledge Money to 'Wipe Israel Off the Map'

West Point Cadet Caught on Her Cell Phone During Graduation March

'Biggest Loser' Contestant: 'The Show Made Billions While Destroying Lives'

Huffington Post Editor's Photo of 'Diverse' Meeting Immediately Backfires