Having already been crowned Liga champions, Ernesto Valverde's side looked set to end the 2017-18 campaign without defeat.
They would fall at the 37th hurdle, though, putting a slight blemish on what has otherwise been a remarkable season for the Catalan club.
On Sunday, they have an opportunity to celebrate their success in front of their own fans in their final fixture.
|Game||Barcelona vs Real Sociedad|
|Date||Sunday, May 20|
|Time||19:45pm BST / 14:45pm ET|
|Stream (US only)||fubo TV (7-day free trial)|
TV Channel & Live Stream
In the United States (US), the game can be watched live and on-demand with fuboTV (7-day free trial).
New users can sign up for a free seven-day trial of the live sports streaming service, which can be accessed via iOS, Android, Chromecast, Amazon Fire TV, Roku and Apple TV as well as on a web browser.
|US TV channel||Online stream|
|beIN Sports||fubo TV (7-day free trial)|
In the United Kingdom (UK), the game can be watched live on TV on Sky Sports Football and it can be streamed live online using Sky Go.
|UK TV channel||Online stream|
|Sky Sports Football||Sky Go|
Squads & Team News
|Goalkeepers||Ter Stegen, Cillessen, Ortola|
|Defenders||Semedo, Pique, Alba, Digne, Vidal, Mina, Umtiti, Vermaelen|
|Midfielders||Rakitic, Busquets, D. Suarez, Iniesta, Coutinho, Paulinho, Gomes, Alena|
|Forwards||L. Suarez, Messi, Dembele, Alcacer, Arnaiz|
Lionel Messi took no part in Barca's defeat at Levante but will return against Sociedad, while Philppe Coutinho will continue in the side following his hat-trick last time out.
The home side will be without Sergi Samper, Samuel Umtiti and Thomas Vermaelen, however, with the latter ruled out due to a hamstring injury.
Potential Barcelona starting XI: Ter Stegen; Semedo, Pique, Mina, Alba; Rakitic, Busquets, Coutinho, Iniesta; L. Suarez, Messi.
|Position||Real Sociedad players|
|Defenders||Martinez, Llorente, Elustondo, Odriozola, Rodrigues, Navas, De La Bella, Moreno, Gorosabel|
|Midfielders||Illarramendi, Zubeldia, Januzaj, Prieto, Pardo, Canales, Zurutuza, Guridi, Guevara, Concha|
|Forwards||Juanmi, Agirrtxe, Jose, Oyarzabal, Bautista|
Xavi Prieto is likely to come back into the side, having been used as a substitute against Leganes, while top-scorer Willian Jose comes into the tie following a goal and an assist in the same game.
Potential Sociedad starting XI: Rulli; Odriozola, Navas, Moreno, Rodrigues; Canales, Illarramendi, Prieto, Oyarzabal; Jose, Juanmi
Betting & Match Odds
Unsurprisingly, Barcelona are favourites to win the game, with dabblebet offering odds of 1/5 on the Blaugrana. Sociedad's chances are rated 9/1 and a draw is available at 6/1.
Barcelona were supposed to end the season unbeaten.
Going into their away tie against Levante, Valverde had guided his team to 27 wins from 36 fixtures and his side had been subsequently crowned champions of Spain.
"We were excited by the prospect of finishing the season unbeaten," Andres Iniesta said following the 5-4 defeat. "It's not the most important thing this season. It just wasn't to be."
It's difficult to understand just how the team failed so spectacularly against Levante, especially with the season so close to an end, although the veteran believes tension got to the players.
“Above all, it was the tension and lack of organisation. This was especially clear at the beginning of the second half."
The loss was especially painful for Iniesta, who leaves Barcelona after this fixture following 22 years at the club.
Another player saying goodbye to his team is Prieto, who has racked up 375 league games for Real Sociedad across 18 years of service.
The chances of a farewell victory are unlikely for the 34-year-old, however, as no home team have beaten Sociedad more times in La Liga than Barcelona, winning 60 of the 70 times they have met at Camp Nou.
In fact, Sociedad have only won three of those 70 encounters, with their last victory at Barca coming in 1991.
Lionel Messi, who has scored 10 goals in his nine games versus Sociedad at Camp Nou, will officially become the Liga top scorer for the fifth season in his career in what has been a campaign to remember for Barcelona.