Substitute James Norwood dented York's promotion hopes with a stoppage-time equaliser for Forest Green.
The Minstermen looked set for victory when Jamie Reed slotted home a penalty after he had been bundled over by centre-back Jamie Turley.
But in the fourth minute of added time, York goalkeeper Michael Ingham spilled the ball and Norwood pounced.
Ashley Chambers had earlier hit the woodwork for York while Yan Klukowski struck the post for the home side.
VIEWS FROM THE DRESSING ROOM
Forest Green Rovers manager Dave Hockaday told BBC Gloucestershire:
"It was really tight with the conditions but both teams did particularly well and overall it was a fair result.
"I felt in the second-half, we were the more dominant team with the wind and it was us having the chances.
"That's a good point for them, a good point for us. We move on with respect for each other."
York City manager Gary Mills told BBC Radio York:
"We've come away to Forest Green who are in good form and you can see why.
"For me it was an away performance in difficult conditions and I thought my players were superb today.
"We were solid and had a good shape about us. We got the goal and I'd like to see the equaliser again before I start saying reasons why they scored but it's a hard one to take."