Olivia Wilde said she was deemed “too old” for a role in Martin Scorsese’s “The Wolf of Wall Street.”

While on “The Howard Stern Show” promoting her new HBO music drama “Vinyl,” Wilde was asked by Stern if she had been denied a role for being too beautiful.

“No, I don’t think so,” the 32-year-old said. “The funniest thing I heard recently was I had heard for a part that I was too sophisticated. And I was like, ‘Oh, that sounds nice.’ I like that feedback. I didn’t get the part, but I’m a very sophisticated person. And then I found out later that they actually said ‘old.’ I want to make a translation sheet for Hollywood that’s all the feedback your agents give you and what it really means.”

The actress then revealed that it was the 2013 film “Wolf of Wall Street” for which she auditioned and was told she was “too old” for the role, not specifying whether it was the part of Teresa Petrillo, Leonardo DiCaprio’s character’s first wife, eventually played by Cristin Milioti (now 30), or the character Naomi Lapaglia, played by Margot Robbie (now 25). The black comedy was adapted from Jordan Belfort’s memoir of the same name so the characters were based on real people.

Wilde did say that the audition led to her getting cast in “Vinyl,” which Scorsese directed the first episode of and serves as an executive producer.

“It shows that if you don’t get something — job interview, whatever you do for a living — it might lead to something else,” Wilde added.