malformed .fit files

I have a Garmin 820 and long rides won't upload to my Strava account. When I go into the Garmin to try to upload it manually, it says the file is malformed. This happens every time I ride over 100 km. I am so angry and about ready to pitch my Garmin out the window. Can anyone help?