Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authenticated: Failed to upload activity to Garmin. Flur Exception #3

Open
JonasPhilippon opened this issue Jan 27, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@JonasPhilippon
Copy link

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

@lswiderski lswiderski added the bug Something isn't working label Jan 30, 2024
@lswiderski lswiderski self-assigned this Jan 30, 2024
@lswiderski
Copy link
Owner

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?

@mikegolant
Copy link

mikegolant commented Feb 9, 2024

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

@JonasPhilippon
Copy link
Author

JonasPhilippon commented Feb 11, 2024

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

@lswiderski
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants