I never liked SanDisk. Sometimes can't write, need to reformatted. I'm using Kingston, old 16GB. I heard Samsung Evo not bad and quite stable.
Other than that it could be just too hot, that your gadget can't be used. Let it cool down a bit.
FYI these budget or affordable dash cam, after 1 year stand by... By 2nd year sure the date cannot hold, battery kembang/bloated. In the end i buy new dashcam, capacitor type. More expensive but hope can last longer.
Car Dashcam, issue and how to fix