Jay O'Shea rescued Chesterfield from a third successive home loss, as the League Two high-flyers came from two goals down to draw with York.
Luke O'Neill opened the scoring with a 25-yard effort in the first half before Ryan Jarvis nodded a second home after the break.
Armand Gnanduillet pulled one back from the penalty spot before whipping the ball in for sub O'Shea's equaliser.
Ian Evatt then hit the woodwork with a header but York held on for a point.
VIEWS FROM THE DRESSING ROOM
Chesterfield assistant manager Leam Richardson told BBC Radio Sheffield:
"I thought we started the game on the front foot, they had three shots on target.
"Tommy Lee made a good save and the other two have gone in - and when things are going like that you accept them.
"We've had out little bit of luck, people may question our desire or say you're a victim of your own success.
"But I don't think anybody will be questioning the desire or endeavour tonight."
York City manager Nigel Worthington told BBC Radio York:
"At 2-0 up you want to go on and try and win the game but you know Chesterfield are going to come at you.
"They're at home, they're up there and have good players and you've got to deal with that.
"I've got to say I'm absolutely delighted with the York players.
"They battled and fought and scrapped and played from second one.
"A point here is a very good point, make no mistake about that."
Chesterfield 01 Lee 27 Edwards (O'Shea - 67' ) 15 Humphreys 05 Morsy 23 Evatt Booked 06 Cooper 16 Devitt Booked 12 Ryan Booked 21 Gnanduillet (Richards - 80' ) 11 Roberts 28 McSheffrey (Doyle - 65' ) Substitutes 02 Banks 04 Hird 07 Darikwa 09 Richards 10 O'Shea 17 Doyle 20 Chapman York City 24 Ingham 02 Oyebanjo 03 Davies Booked 14 Montrose 05 McGurk 06 Parslow 12 Carson 29 Whitehouse 11 Jarvis (Fletcher - 74' ) 30 O'Neill 27 Brobbel (Platt - 62' ) Substitutes 01 Kettings 04 Smith 09 Fletcher 17 Cresswell 18 Platt 19 Bowman 28 Puri
Ref: Mark Brown