Coercion Warnings
What Are Coercion Warnings?
Response Format
{
"status": "success",
"planned_workout_id": 12345,
"provider_workout_id": "garmin_abc123",
"coercion_warnings": [
{
"path": "workout.sport",
"message": "Unsupported sport type: yoga. Defaulting to OTHER."
},
{
"path": "workout.step_blocks[1].steps[0].intensity_targets[1]",
"message": "Secondary targets only supported for cycling and swimming. Target ignored."
}
]
}Common Warning Scenarios
Missing Athlete Parameters
Unsupported Sport Type
Too Many Targets
Unsupported Target Type
Swimming Pool Length Missing
Unrecognized Exercise Name
Block Completion Coercion
Intensity Type Coercion
Sync Window (Zepp)
Unsupported Sport (Zepp)
Cadence as Primary Target (Zepp)
Swim Stroke Ignored (Zepp)
Handling Warnings in Your App
Log for Debugging
Show to Users (Optional)
Ignore If Acceptable
Preventing Warnings
Last updated
Was this helpful?