CINCINNATI — First-year manager Mickey Callaway knew something was badly wrong when Wilmer Flores went to the plate for the first time. At that point, it was too late to change the Mets’ mistake.

New York wasted a first-inning rally by batting out of turn, and Adam Duvall led off the 10th inning with a homer that sent the Cincinnati Reds to a 2-1 victory Wednesday, concluding a series that will be remembered for an unexpected trade and an embarrassing mistake.

This one simply wasn’t in the lineup cards for New York.

“It is frustrating,” said Callaway, who blamed himself for an administrative mistake. “It probably cost us a game. We had a chance to score in the first and we didn’t.”

The Reds took advantage. Duvall connected for the first game-ending homer of his career off A.J. Ramos (1-2), sending New York to its eighth loss in nine games.

The Mets handed Callaway’s lineup card to the umpires, which had Asdrubal Cabrera batting second and Wilmer Flores third. However, the lineup sent out by computer pregame and posted on the dugout wall incorrectly had the two hitters switched in the order. Callaway did not identify who sent out the incorrect lineup.

Callaway knew there was nothing he could do when Flores batted out of turn and struck out for the second out. Cabrera then doubled to left, and the Reds pointed out the discrepancy. The double was nullified and an out was called, credited to Jay Bruce, the next batter.

It was the first time a major league team was caught batting out of turn since the Brewers did it in 2016.

CUBS 13, MARLINS 4: Kris Bryant hit his 100th career homer, Anthony Rizzo and Addison Russell connected in an eight-run third inning, and Chicago pounded visiting Miami.

INTERLEAGUE

INDIANS 6, BREWERS 2: Carlos Carrasco struck out 14 in a complete game, Tyler Naquin and Francisco Lindor homered, and Cleveland won at Milwaukee.

ANGELS 8, ROCKIES 0: Rene Rivera homered with a sore right hand, Jaime Barria threw efficiently into the sixth and visiting Los Angeles ended Colorado’s six-game winning streak.

PIRATES 6, WHITE SOX 5: Colin Moran hit a two-run homer that capped a four-run rally against Nate Jones in the ninth inning, leading Pittsburgh to a win at Chicago.

BRAVES 5, RAYS 2: Nick Markakis hit a three-run homer and Atlanta set a franchise record for consecutive shutout innings (34) on the road.

AMERICAN LEAGUE

RANGERS 5, TIGERS 4: Nomar Mazara led off the 10th inning with his second homer of the game, giving Texas its first winning home series this season.

ORIOLES 5, ROYALS 3: Mark Trumbo delivered a tie-breaking two-run single in the eighth inning, Chris Davis homered and host Baltimore ended a seven-game losing streak.

ASTROS 4, ATHLETICS 1: Gerrit Cole struck out nine to raise his MLB-leading total to 86, and Houston completed a sweep at Oakland.

NOTES

TRADE: The Blue Jays acquired infielder Gio Urshela from the Indians for a player to be named or cash.

ATHLETICS: Right-hander Trevor Cahill was put on the 10-day disabled list because on an impingement in his pitching elbow, a move retroactive to Sunday.

YANKEES: Greg Bird is set to begin a rehab assignment Thursday with the Yankees’ Class A affiliate in Tampa as he works back from ankle surgery.