Frampton was shown two yellow cards during the dramatic 3-2 loss, but the second one was for a foul committed by Sam Sodje.
Bees boss Martin Allen said: "It is quite clear that Andy never touched the opponent and that Sam Sodje was the player that tackled the forward.
"It proved costly with no defender on the bench and with Town down to 10 men but we will have to learn from it."