Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

"json: cannot unmarshal number" with zones for run activities #20

@chemikadze

Description

@chemikadze

Example api body causing error:

$ curl -G https://www.strava.com/api/v3/activities/95352413/zones     -H "Authorization: Bearer xxx"
[{"score":null,"distribution_buckets":[{"max":1.8331809410114008,"min":0,"time":117},{"max":2.156683460013413,"min":1.8331809410114008,"time":67},{"max":2.4435539047991397,"min":2.156683460013413,"time":71},{"max":2.869924875495906,"min":2.4435539047991397,"time":121},{"max":-1,"min":2.869924875495906,"time":413}],"type":"pace","resource_state":3,"sensor_based":true}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions