cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Hub is now in read-only mode as we make improvements to the Hub experience. More information is available here.

Wrong lap start_indexes and end_index

Aleksey
Mt. Kenya

Hi, API sends strange laps data via getLapsByActivityId  for short activities (less than 5km) with incorrect start_index and end_index of each lap.

For example, https://www.strava.com/activities/11280411371/laps

Each lap is equal 1km.

API for it returns:

"distance": 1000,
"lap_index": 1,
"split": 1,
"start_index": 0,
"end_index": 93,

In Streams data distance for index 93 is 300 m,  time 93 seconds. Should be 1000 m and about 284 seconds. The same for other laps. So all data from Streams matched with such indexes are incorrect and doesnt correspond with lap data in Strava via activity link above.

For activities with distance above 5km all data is correct.  

Will be appreciated for any advices how get correct data for laps.

Thanks!

 

0 REPLIES 0
Ready, Get Set, Go!

Welcome to the Community - here is your guide to help you get started!


Know how to use Community


Understand Community Settings