Dan Straily retired 12 batters in a row in his Chicago Cubs’ debut.

Unfortunately for Straily, that streak ended when he drilled New York Mets slugger David Wright behind the left shoulder with a pitch that led to four runs and turned a respectable effort into a 7-3 loss at Citi Field.

“It’s something that just can’t happen,” said Straily, who was pulled after allowing a bases loaded walk to Matt den Dekker with one out in the sixth. “I had (Wright) on the ropes right there and lost the fastball in. and you can’t follow it up with a walk, a hit and another walk. It’s unacceptable.’’

As expected, the Cubs optioned Straily to Triple-A Iowa after the game and promoted outfielder Matt Szczur. The Cubs sounded encouraged by Straily’s debut, but the next time he makes his next start for the Cubs appears uncertain.

“I’m sure we’ll see him again,” manager Rick Renteria said. “He gave us a good look. He had a snippet of working through it with a very good tempo.”

Straily, whose fastball touched 90 mph a few times, said he didn’t have his best stuff and opted for  more off-speed pitches. He also had to get acclimated to a new team.

“It felt pretty new until I got going,” said Straily, who joined the Cubs’ organization on July 5 following a trade from the Oakland Athletics. “Once I started playing catch, it was just another day of baseball. But all day it felt very new with the excitement of getting to pitch for a new team and all that good stuff that goes along with it. It’s just not the way I wanted to finish.

“I’ll take it for what it’s worth, keep working and get better.”

The same could be said for a Cubs’ offense that struck out 10 times, marking the sixth time in their past nine games they struck out 10 or more times.

The biggest sign of frustration occurred in the seventh when they scored twice with no out and had the bases loaded, only for the top of the order to fail to advance any runners.

Rookie  Javier Baez spiked his bat after popping to first for the second out, and Anthony Rizzo flipped his bat after popping to short to end the rally.

“At times when you‘re not able to get that big hit or big at-bat that keeps the line moving, it can become frustrating,” Renteria said. “We got to come back and find a way to redeem ourselves.”