WebBodyComposition icon indicating copy to clipboard operation
WebBodyComposition copied to clipboard

Authenticated: Failed to upload activity to Garmin. Flur Exception

Open JonasPhilippon opened this issue 1 year ago • 4 comments

Hi, Brilliant work, if this works! I’ve been trying to find a solution for uploading all body composition data to Garmin for a while.

I’m trying to manually enter my data and upload it to Garmin through the web app. I’ve tried using Safari and Bluefy. I also tried using different inputs, with or without decimals and with different login details to make sure it wasn’t the input or the authentication. I’m on iPhone.

I got the same error in both browsers:

AuthStatus: Authenticated, LastError log: Failed to upload to Garmin. Flur Exception.

IMG_4091

Thanks // Jonas

JonasPhilippon avatar Jan 27 '24 11:01 JonasPhilippon

Hi @JonasPhilippon

Thanks for a report. What is you iOS version and iPhone model? Do you have 2FA/MFA enabled? It occurs every time? Like in the morning and afternoon for example?

lswiderski avatar Jan 30 '24 20:01 lswiderski

Hi I have the same issue Looks like it happens due to Garmin's 2-step verification It happens using the bluefy browser on my iPhone and with an Android app

mikegolant avatar Feb 09 '24 20:02 mikegolant

Hi @lswiderski I'm on the newest iOS version (17.2.1) and an iPhone 15.

Since you're asking about time of day, I decided to test during a few days. The problem only occurs in the morning (from 06-12). But it is not consistent. Most times I've succeeded. But look at the last test at 10.13. That was a success in the morning:

All times are CET.

11.20: Fail 11.39 Fail 21.47 Success 07.13 Fail 12.26 Success 19.21 Success 00.38 Success 08.10 Fail 10.13 Success

Do you know why it is failing the the morning?

Edit: I do not have 2-step verification on.

//Jonas

JonasPhilippon avatar Feb 11 '24 09:02 JonasPhilippon

@JonasPhilippon

The problem is the proxy api that creates the .fit file and sends it to garmin. Its resources are shared among all users of the application. If a couple of people enter the wrong data at the same time, Garmin sees it from its side as if someone tried to do it from 1 device and blocks the traffic from the api for a short while

As soon as I find a free moment I will try to solve this problem. My temporary suggestion is not to close Bluefy with the already measured data in case the shipment fails, and try again later.

lswiderski avatar Feb 20 '24 20:02 lswiderski