Skip to content

API Validation Errors for MountainBikeRide'/'Badminton Strava Activity Types #1

@greg070

Description

@greg070

Description:
The Strava MCP server fails to retrieve activities when the dataset contains activity types that are not in the predefined enum list, even when filtering by a specific activity type or when those activities should be excluded from the results.
Affected Tools:

strava:query_activities
strava:analyze_training

Error Message:
validation errors for list[SummaryActivity]
X.sport_type
Input should be 'AlpineSki', 'BackcountrySki', 'Canoeing', 'Crossfit', 'EBikeRide', 'Elliptical', 'Golf', 'Handcycle', 'Hike', 'IceSkate', 'InlineSkate', 'Kayaking', 'Kitesurf', 'NordicSki', 'Ride', 'RockClimbing', 'RollerSki', 'Rowing', 'Run', 'Sail', 'Skateboard', 'Snowboard', 'Snowshoe', 'Soccer', 'StairStepper', 'StandUpPaddling', 'Surfing', 'Swim', 'Velomobile', 'VirtualRide', 'VirtualRun', 'Walk', 'WeightTraining', 'Wheelchair', 'Windsurf', 'Workout' or 'Yoga' [type=literal_error, input_value='MountainBikeRide'/'Badminton', input_type=str]
Problematic Activity Types Identified:

MountainBikeRide
Badminton

would it be possible to add the missing activities ?

Thanks a lot in advance,
Gregory

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions