Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Exception in thread “main” com.garmin.fit.FitRuntimeException: FIT decode error: Protocol version 4.1 not supported.  Must be 1.15 or earlier.

Rank

Total Posts: 8

Joined 2013-05-01

PM

Hi all,

I got a following error:

Exception in thread "main" com.garmin.fit.FitRuntimeException: FIT decode error: Protocol version 4.1 not supported. Must be 1.15 or earlier.
at com.garmin.fit.Decode.read(Decode.java:404)
at com.garmin.fit.Decode.resume(Decode.java:228)
at com.garmin.fit.Decode.read(Decode.java:205)
at com.garmin.fit.Decode.read(Decode.java:200)
at com.garmin.fit.MesgBroadcaster.run(MesgBroadcaster.java:120)
at com.garmin.fit.csv.CSVTool.main(CSVTool.java:120)

Anybody know the reason?

Thanks

Minja
     
RankRankRank

Total Posts: 91

Joined 2012-10-12

PM

Hi Minja,

The decoder encountered an unexpected value in the header. Does the error occur every time you try and decode this file? Do other files decode ok? What version of the SDK are you using? It is possible your file is corrupt. You could try viewing the file with a hex editor and see if the other header bytes look correct or running the CSVTool using the -i option.

     
Rank

Total Posts: 8

Joined 2013-05-01

PM

Hi Shane,

thanks for fast reply.

other files works fine, difference with this one is that is is more than 50KB size. This is FitSDK_4.20 version.

.fit file that I'm trying to upload works fine on http://www.strava.com no pr,oblem to upload.

I will also try hex editor and inform you.

BR,

Minja      
Rank

Total Posts: 8

Joined 2013-05-01

PM

Hi Shane,

we used chunk upload before file is processed with FitSDK and that is reason why file was corrupted.

Thanks for support

Minja