Hi,
I support a website that, via the Strava API, allows our users to sync their activities from Strava into our system.
We have an occasional error with activities not syncing properly, and I have a suspicion it is related to an activity being returned to us with a "null" value for the map node.
Here is a snippet of the resulting JSON of a call to getActivityById():
...
"athlete_count": 1,
"photo_count": 0,
"map": null,
"trainer": true,
"commute": false,
"manual": false,
...
"athlete_count": 1,
"photo_count": 0,
"map": {
"id": "a7974877761",
"summary_polyline": "",
"resource_state": 2
},
"trainer": false,
"commute": false,
...
I'm curious to know where the null value for map came from, and I'm primarily wanting to know how I can create an activity myself with a null value for map, so that I can troubleshoot our system in this scenario.
Thanks