Damaged pie sold in error (7)
I believe the answer is:
spoiled
'damaged' is the definition.
(spoiling is a kind of damaging)
'pie sold in error' is the wordplay.
'in error' is an anagram indicator.
'pie'+'sold'='piesold'
'piesold' anagrammed gives 'SPOILED'.
(Other definitions for spoiled that I've seen before include "Rotten" , "Damaged, harmed" , "Of child, excessively pampered" , "Marred" , "Ruined" .)