"error": "athlete_id must be in `i123456` form (with the leading `i`)
my athlete_is is stored in .sync_config.json and in my id there isn't an 'i' dowload from intervals work whithout problems.
calendar sync with push.py fail to sync
{ "success": false, "error": "athlete_id must be in
i123456form (with the leadingi). Got1123456789. Check .sync_config.json / ATHLETE_ID / --athlete-id." }
if I comment this block (from line 147)
if athlete_id.isdigit(): raise ValueError( f"athlete_id must be in
i123456form (with the leadingi). " f"Got{athlete_id}. Check .sync_config.json / ATHLETE_ID / --athlete-id." )
upload is ok
Thanks for reporting this. push.py now accepts both i-prefixed and legacy numeric athlete IDs exactly as shown in Intervals.icu Settings. Replace your locally edited copy with the updated script; removing the validation check is no longer necessary.