Tom Denton headed in Jak McCourt’s corner to give Chesterfield the lead at half-time.
But Joe Sbarra equalised from close-range and then Kyle Hudlin headed the winner three minutes into four of added on time.
It was James Rowe’s first defeat as manager in seven games as Blues boss after a great start to his tenure.
Here are Liam Norcliffe’s player ratings from the match...
It was James Rowe’s first defeat as manager in seven games as Blues boss after a great start to his tenure.
4 / 4