32 GB card should be a problem for you. Make sure your card is class 10, not class 4 or 6. A class 10 card is must for newer device no matter it is 16/32/64 GB, because it has the fastest read and write capacity to utilize the new processors.
Second thing is is your memory card a new one? I mean do not use a old memory card from an old device without formatting it. But if your card is new and formatted than I think either it has malware or corrupted. You scan it with good anti virus scan using the device if possible or plug into a laptop/desktop and scan the card as portable memory device. It will detect the issue. But still the issue persist than use another card with the device and the card on a another device to detect what is the main issue.
Anyway I am sure the memory card has the problem and you can easily solve it by following my advice. Regards.