Forrest Gump catches a can of Mello Yello, but the drink didn't exist during the timeframe of the movie

In Forrest Gump, Tom Hanks catches a can of Mello Yello, but the drink wasn’t invented until March of 1979. The movie was set in the 1950s and 1960s.

Other goofs include Forrest drinking Dr. Pepper in New York, even though it wasn’t available there yet. The Dr. Pepper logo was different in 1972 than what the movie depicts.

(Source)