Repository navigation
Demo.py option: "[a] Scheduled workouts, next 60 days (incl. adaptive plans)" Not Returning Adaptive Plan Workouts #481
Replies: 1 comment 2 replies
|
Not a maintainer, but a few things from the 0.3.20 source that should narrow this down. What the method actually sends
python-garminconnect/garminconnect/api/workouts.py Lines 412 to 423 in 3eee7a4 And python-garminconnect/docs/API_ENDPOINTS.md Line 249 in 3eee7a4 That makes your report the first real data point rather than a misuse on your side. Three quick checks you can run with your account (I don't have a Coach plan, so these are untested suggestions, not confirmed fixes)
The most reliable way to settle it is to open the Garmin Connect web app's training-plan page with DevTools → Network and copy the exact |
Uh oh!
There was an error while loading. Please reload this page.
Hi everyone!
I’m trying to retrieve scheduled workouts from an active Garmin Coach adaptive cycling plan, but
get_scheduled_workouts_by_period()returns an empty list even though the workouts appear in my Garmin Connect calendar.Before opening a PR, I’d like to confirm whether this is a bug, an unsupported feature, or an issue with how I’m using the API.
Steps to reproduce
demo.pyand log in to an account with an active Garmin Coach adaptive plan.#b 📅 Training Plans & Calendar.[a] Scheduled workouts, next 60 days (incl. adaptive plans).your_data/response.json.Actual behavior
The request returns an empty list:
However, Garmin Connect shows scheduled workouts for October 28–29 within that date range:
The
[1] Get training plansoption also returns the active plan. Relevant excerpt:{ "trainingPlanList": [ { "trainingPlanId": 48013240, "trainingPlanCategory": "FBT_ADAPTIVE", "trainingType": { "typeId": 3, "typeKey": "Cycling" } } ] }Expected behavior
Because the menu option explicitly says “incl. adaptive plans,” I expected the response to include the scheduled workouts from my Garmin Coach adaptive plan—at least those shown in the calendar for October 28–29.
Proposed next step
I’m happy to investigate and submit a PR, but I’d appreciate confirmation from the maintainers first:
Environment
0.3.2026.7All reactions