Adding Pokemon X/Y game to Global Link

//ads -- adsterra.com -- native banner
?>
I previously had a Pokemon X game and assigned that game to my Pokemon Global Link account. I recently bought a new Pokemon X game and want to add that game onto my Pokemon Global Link account.
I'm trying to add the code from my cartridge to my Pokemon Game Link but it's not allowing me to do.
What can I do to add my new Pokemon X game while trying to retrieve my previous PokeMiles and other bonuses from my last game?
I already know that I cannot get any Pokemon back so I'm not worried about that.
Pictures about "Adding Pokemon X/Y game to Global Link"



What replaced Pokemon Global Link?
The Pok\xe9mon Global Link (Japanese: \u30dd\u30b1\u30e2\u30f3\u30b0\u30ed\u30fc\u30d0\u30eb\u30ea\u30f3\u30af Pok\xe9mon Global Link) was an internet multiplayer feature in the Generation V, VI, and VII core series games. It offered similar features to the Global Terminal in Generation IV and was replaced by Nintendo Switch Online and Pok\xe9mon HOME in Generation VIII.Can you still play Pokémon X online?
Popular features like the Global Trade System and Wonder Trade will remain available, however, and players will still be able to battle each other online and receive Mystery Gifts.Does Wonder trade still work 2020?
In a statement on the Pokemon Global Link website, The Pokemon Company revealed the service will cease on February 24, 2020.Pokemon X and Y News - New Global Link Website for X and Y!
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Anton, Francesco Ungaro, Patrick Case