was for add a NPC, but i used the command DELETE FROM creature_template WHERE entry='999666' before the add one, and the error was fixed.. thanks anyway for the tips they where helpfull too