This trope can also be called "Honest, yet oblivious". It's when a good character gets tricked by the bad guy, thinking they're on the same side. Of course, this doesn't work out for them in the end.
Innocent yet oblivious
Knuckles the Echidna
for Knuckles the Echidna in Tropes for the Sonic Dawnverse
Suggested by autobotsonicfan2007
The tropes for the saga