Huesca travelled to the Camp Nou perhaps more in hope than belief, although it was the latter that dominated the Aragaon-based minnows' thinking in the early stages after Cucho Hernandez headed past Barca goalkeeper Marc-Andre ter Stegen to hand them a surprise third-minute lead.
Messi has started the season in typically impressive form, scoring four goals in his first three La Liga games, which included a brace in the 8-2 thrashing of Huesca at the weekend.
The home side were level in the 16th minute, however, when Messi worked his way into the Huesca box before finding the bottom corner via the inside of the post. That score came after Jordi Alba ran down to the end line and attempted to fir a pass in toward Messi.
Barca top the LaLiga standings ahead of bitter rivals Real Madrid on goal difference heading into the global break. The pass from Alba had to go to VAR as there was a hint of offside when the left-back picked up the ball.
John Millman Just Knocked Off Roger Federer At The US Open
Keys punched her ticket to the quarterfinals with a dominant 6-1, 6-3 victory over No. 35 seed Dominika Cibulkova of Slovakia. The 14th-seeded Keys will play Carla Suarez Navarro who ended Maria Sharapova's flawless record in night matches at the U.S.
The Portuguese superstar has since moved to Juventus, but Messi believes Barca still have the quality needed to win the trophy.
Messi broke into Barca sqaud in 2004 and has scored 387 goals 421 matches and has won four Champions League and nine La Liga titles among several other trophies.