Maybe you have had a situation similar to that described by this user:
We will show you how to get your valuable data back from a corrupted SD card. Fortunately, there are multiple methods that you can use to attempt a corrupted SD card recovery. As one can imagine, this can be extremely distressing, especially if the card contained photos or videos of a once-in-a-lifetime event like a wedding or birthday party. SD and MicroSD cards can become corrupted for a variety of reasons which makes it impossible to access the data stored on the card. Is it possible to recover data from a physically damaged SD card?.Are there any risks of running chkdsk on an SD card?.Why is it recommended to format a corrupted SD card?.
Is there a way to recover data from a corrupted memory card without formatting?.Is it possible to fix a corrupted SD card on Android without a computer?.How to Avoid SD Card Corruption in the Future.A Minute of Theory: What is SD Card Corruption Actually?.