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

Can I assign gear to imported activity?

I have an activity (biking) that I imported from another platform into Garmin Connect.  Everything shows up as it should, but on the activity page, it is missing the option to select the gear used for that activity.  I'd like to assign the bike I used for this ride.  

I am new to Garmin Connect, and I've got a whole bunch more of activities that I plan to import.  It is important that I'm able to assign them to my different bikes in order to keep track of mileage on each.  

Is it possible to assign the gear to these imported activities?

  • I just checked. I have no problems adding gear to imported (or even manually created) activities. Works just like for any other activity.

  • Gear can be missing because of date.

    If activity is older then gear, then you can't add it as you didn't have that gear during that activity (based on add date).

    So, first check if you set a correct date for your gear (must be same or older then activity).

  • Thanks for the reply.  My gear (four bikes) all have dates older than the activity.  Below are screenshots.  You can see that the option to add gear is completely missing from the activity page.

    Here is my gear.  All four bikes have dates older than the activity date of June 7, 2019.

    Any ideas?

  • You can try edit the activity - change name or sport category. This sometimes helps as it refresh things connected with that activity. Usually needed if earned badge is not showing.

    .

    If that still won't display gear, you can try add it by force directly by link.

    1. Use some web-browser with developer tools - activated by F12 key (or somewhere in menu).

    2. Open an activity where you can add a gear.

    3. Open F12 and choose "Network" tab.

    4. Add gear.

    5. "Network" will show: 200 - POST - connect.garmin.com - [ACTIVITY-ID].

    6. Click on it and choose "Edit and Resend".

    7. Click on the first box with URL and replace last number - with activity ID where you can't add gear.

    https://connect.garmin.com/modern/proxy/gear-service/gear/link/GEAR-ID/activity/ACTIVITY-ID

    8. Click "Send" (check if all green in "Network" with no error).

    This should add the same gear to activity which ID you entered in that link.

  • I tried editing the activity name and changing the sport category.  Neither worked.  So I am trying your second suggestion.  Using Google Chrome, I've opened an activity where I can edit gear and have opened the Network Tab in Developer tools.

    I added gear and I can see it added a line with the activity ID.  However, when I click on it, I don't see anywhere to select "Edit and resend."  Am I missing it?  Below is a screenshot. 

    Thanks for your help!

  • Ok, true. Looks like the graphic edit box is only in Firefox.

    .

    On Chrome you need to do it manually:

    1. Right click on the request (which added the gear) and select: Copy -> Copy as fetch.

    2. Change the "Network" tab to the "Console" tab.

    3. Paste and edit the link by replacing Activity ID, and press Enter.

    4. Refresh the activity page to see if it worked or check the Gear page to see if the activity got on the activities list for that gear.

  • I'm not sure I follow...  Where do I paste the string on the console tab?  

    Here's what copied to the clipboard when i selected "Copy as fetch" from an activity where I added gear:

    fetch("">connect.garmin.com/.../3815254249", {"credentials":"include","headers":{"accept":"*/*","accept-language":"en-US,en;q=0.9","adrum":"isAjax:true","nk":"NT","x-app-ver":"4.20.1","x-http-method-override":"PUT","x-lang":"en-US","x-requested-with":"XMLHttpRequest"},"referrer":"https://connect.garmin.com/modern/activity/3815254249","referrerPolicy":"no-referrer-when-downgrade","body":null,"method":"POST","mode":"cors"});

    The activity that is missing the gear selection is 3770360262.  I assume I would replace 3815254249 in the above with 3770360262?   Where then does this get pasted?

  • Yes, that's the correct request. Whole should be pasted right in the Console, after console blue arrow: ">" then you replace ID and press enter.

    But it should be entered soon after adding gear normally, as session can end. So when you try again, you should first add gear again.

    Or you can try Firefox.

  •  

    Not to hijack this thread, but there's an easier way to do this that only requires a couple of clicks, after some initial setup. It will work on any browser, including mobile (although GC is pretty slow and clunky on mobile). And there's no need to open a developer console with F12

    1) One-time step: Install "bookmarklet" for assigning gear:
    1a) Bookmark any site at all. Edit the bookmark...
    1b) Change the name to "GC assign gear" (or whatever)
    1c) Change the address/URL to the text at this page (starts with "javascript" and ends with "();"):
    https://pastebin.com/2hV19gBz

    2) Get Gear ID
    2a) Login to the Garmin Connect website
    2b) Navigate to the gear page
    2c) Click on the down arrow/chevron beside the name of your gear
    2d) Click Edit
    2e) Copy and paste the URL from the address bar.
    It will look like this...

    connect.garmin.com/modern/gear/GEARID/edit

    ...where GEARID is a string of letters and numbers. Copy the gear ID to a safe place, like Notepad, TextEdit or your Notes app

    3) Assign Gear
    3a) In Garmin Connect Web, navigate to activity that needs gear
    3b) Click on the bookmarklet you created in step 1
    3c) You will be prompted for the gear ID: paste the gear ID from step 2

    If you do step 3) multiple times in the same tab, the previous gear ID will be saved so you don't have to paste it over and over again

  • Thanks for this.  I followed this process and it added the activity to my gear (which I can now see in the list of activities for that bike), but "Gear" is still missing from that specific activity page itself.  So I think we're halfway there...

    This is still a bug that Garmin should fix, rather than having to do these work-arounds!