This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bug: I can't create any segments from an activity (Page not found)

I successfully see the "Create segment"-button below each of my activities, but when I click on it, I don't get redirected to the segment editor but to an error page stating that the page was not found.

This is particularly annoying because I wasn't able to find any information about this bug (I've searched everywhere), as if it was brand new. As I am a new user (bought an Edge a few days ago) I don't know how long the bug has been around.

Can you tell me if you also get this bug? And how long it has been there?

  • I have the same bug as I successfully see the "Create segment" button on today's run (I was not following a course). I have successfully created segments from activities in the recent past but when I click on the button I get the same Page not Found error. I have tried on Chrome and on a clean install of Edge.

  • If you export the activity (cogwheel menu on the page of the Activity in GC Web » Export Original), I can have a look at it, and try, and perhaps find out what is wrong, or create the segment for you. You can post it here, after zipping, and then using the Insert function » Insert Image/Video/File » From - File Upload.

  • 5063931861.zip 

    Thanks for the quick reply and offer to help. I attach the zipped FIT file. I'm not really bothered about creating a segment on this run but would be keen to resolve this bug. I've just looked at 2 older runs and I can create segments on one but not on the other.

  • OK, I imported it into my account and tested the segment creation. I am getting the same message as you, and when I dig into the HTTP data, I see the request for the segment creation page triggers the error 500 on the server (500 is a code for an internal server error during the processing of the data). More specifically, the error details are as shown below. I will try to find out by experimenting what it exactly means, but need some information from you - did you somehow edit the activity, trimmed it, imported it manually, or did any other manipulation with it? Did you change the time of the activity?

    {"message":"Time directionality is inconsistent","error":"IllegalArgumentException"}

  • Hi, thanks for looking into this. The only edit I made was to the title of the activity. Garmin automatically adds my gear (shoes). The time of the activity shown is consistent with my actual time of departure.

  • I narrowed down the time problem to the section somewhere between km 2.8 and 2.9. Need some more time to find exactly the offending keypoint. but it is an issue that you can then fix yourself. Wait an hour or two for more details and the description of the solution.

  • OK, so I finally managed to track down the exact reason of the error 500 when accessing the Create Segment link on the Activity screen. It happens whenever the activity has more than exactly 1000 track points (1000 points pass, 1001 no more). In your case, with the pace you had in that specific ativity, it corresponds to some 2.8km (approx., depends on the pace on the selected part of the activity), because you used the Every Second GPS recording mode. If you used the Smart Recording, it would likely cover much longer whole activities.

    This is clearly a bug on Garmin's side (limit of 1000 track points triggering the error "IllegalArgumentException / Time directionality is inconsistent"), but you can bypass it either by using the Smart Recording, or by temporarily trimming your activity to a smaller section (with the starting point wherever you need), creating the Segment with the trimmed Activity, and then reversing the Activity to the original (all of those functions are accessible through the cogwheel menu on the Activity page in GC Web).

    You can also report the bug to the Support, pointing them to this post, explaining the exact culprit. I can provide more details, if needed.

  • Thank you for your time looking into this. A couple of further points relating to the activity exceeding 1000 track points/recording mode:
    - I have created segments from activities in the recent past. These would all have been significantly in excess of 3 km so it surprised me that I had ever been able to create segments. However, I now get this error if I try to create a segment on an activity from which I definitely created a segment in the past. So this bug seems to have caused retrospective issues
    - I don't see where I can switch from Every Second to Smart Recording. Neither on my Forerunner 35 directly nor on its settings from within Garmin. A quick Google seems it's not possible to change on this device.

    Thank you again for the time taken. I will report this bug and report back here if I get any response.

  • So this bug seems to have caused retrospective issues

    Of course, it does not matter whether the data with more than 1000 track points, is recent or old. Once there are more than 1000 points, the bug will cause the server error 500 anyway

    Neither on my Forerunner 35 directly nor on its settings from within Garmin

    It is possible  the FR35 does not offer such option, it is a very old device with just some rudimentary funtionality

  • .. and as I suggested in my previous post, if you do not need any segment longer than those 1000 track points (around 2.8 km at that pace), you can temporarily trim the activity to the section you want to use as segment, create the segment from the trimmed activity, and then reversing back to the original full activity. The segment will be preserved.