This is probably because the game id of dump you're using doesn't match the corresponding game id of the cheat table. There were revisions of many DS games, and, many modified dumps were released into the web over a decade ago. Use r4cce to clone to manually edit the Game ID/Code of the cheat...