Skip to content

Fix/login progress and 2fa#4

Open
velazcod wants to merge 2 commits into
bes-dev:masterfrom
velazcod:fix/login_progress_and_2fa
Open

Fix/login progress and 2fa#4
velazcod wants to merge 2 commits into
bes-dev:masterfrom
velazcod:fix/login_progress_and_2fa

Conversation

@velazcod
Copy link
Copy Markdown

@velazcod velazcod commented Dec 1, 2025

Fix error for:
Failed to initialize: 'ProgressReporter' object has no attribute 'warning' Error: 'ProgressReporter' object has no attribute 'warning'

And a silent failure during login when the account has 2FA enabled:
Password: Connecting to Garmin Connect... Endpoint shared by multiple metrics: /wellness-service/wellness/dailyStress/{date} used by stress and body_battery Failed to load activities batch at offset 0: Authentication required for fetching Activities: Not authenticated. Please login first.

Add warning() method to ProgressReporter class to fix AttributeError when activities_iterator.py calls self.progress.warning() during sync.
Pass prompt_mfa callback to AuthClient.login() so users with 2FA enabled are prompted for their MFA code. Previously, prompt_mfa defaulted to None which caused login to silently fail for 2FA accounts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant