The sentence "It's a shame that Tom's vacation didn't go as planned." has a spelling error. The contraction "It's" should be expanded to "It is" in formal writing, making the correct version: "It is a shame that Tom's vacation didn't go as planned."
Therefore, the sentence with a grammatical or spelling error is:
It's a shame that Tom's vacation didn't go as planned.