NEW YORK (AP) Zack Greinke's shutout streak for the Los Angeles Dodgers is over after the New York Mets scored against him on a grounder by opposing pitcher Jacob deGrom.

Greinke retired his first six batters Sunday, extending his scoreless streak to 45 2-3 innings - longest in the majors since Orel Hershiser set the big league record with 59 for the Dodgers in 1988. But the right-hander hit Kirk Nieuwenhuis with a pitch leading off the third, and Kevin Plawecki singled.

Nieuwenhuis went to third when rookie center fielder Joc Pederson fumbled the ball for an error, putting runners at the corners with none out. Greinke got ahead 0-2 on deGrom, who hit a bouncer to first base. Adrian Gonzalez threw home, where Nieuwenhuis slid in safely.

More from FoxSports

Dodgers catcher Yasmani Grandal signaled to the bench for a review, but replays showed Nieuwenhuis beat the tag and Los Angeles did not challenge. The play was scored a fielder's choice, and Greinke showed little emotion as he waited for a moment near the mound.

Despite the error, the run was earned because Curtis Granderson followed with a fly to right field that presumably could have scored Nieuwenhuis. Greinke got out of the inning without any further damage.

It was the first run Greinke had allowed in seven starts since June 13 at San Diego. He did give up a leadoff homer to AL MVP Mike Trout in the All-Star Game on July 14.

Greinke originally was scheduled to pitch Friday, but he went to Los Angeles to be with his wife, Emily, on Thursday night for the birth of their first child, Bode Nicholas. The right-hander, who was leading the majors with a 1.30 ERA, rejoined the team this weekend.