This happened after moving it to another device on my ROG Ally:

microSD card can't be read
The card may need to be formatted for this system,
or it may be damaged. Formatting erases all data.
Card: 512 GB - status: not mounted
The card is a 512 GB card. I tried rebooting and reseating it. Nothing. I cant even tell if the card is dead or just has a broken file system. What should I try first?
I'm comfortable following steps in a terminal if someone explains them. I'm just not suree where to start, and I don't want to make things worse.
i'd also love to know how to avoid this in the future. Is it the card, teh device, or just bad luck? im about to throw this thing out the window lol