cancel
Showing results for 
Search instead for 
Did you mean: 

Activity too long - Get Activity Streams (getActivityStreams)

pier23
Shkhara

Is the "Get Activity Streams (getActivityStreams)" failing when the activity is too long? Anyway to limit the number of coordinates you are returning?

 

Thank you

 

1 ACCEPTED SOLUTION

Jan_Mantau
Denali

If you don't do it already, maybe you can request the different measures (heartrate, watts etc.) one after another instead of everything at once. But as you describe it this is clearly a server side bug of Strava. Maybe it's only temporary (when under high load) but when not, it shouldn't be workarounded on client side but corrected by Strava.

View solution in original post

4 REPLIES 4

Jan_Mantau
Denali

If you don't do it already, maybe you can request the different measures (heartrate, watts etc.) one after another instead of everything at once. But as you describe it this is clearly a server side bug of Strava. Maybe it's only temporary (when under high load) but when not, it shouldn't be workarounded on client side but corrected by Strava.

Hi @Jan_Mantau,

totally agree on that! I already workarounded that on my side, but it would be great to limit the level of detail returned by Strava, so you can set a max number of points to be returned in every stream. That would be great. 

Thank you and have a nice day!!

pier23
Shkhara

Hi @Jan_Mantau,

sure, I can try to explain a bit more. For me the "Get Activity Streams (getActivityStreams)" method response is too long when the activity more than 8h. The reply incldues too much data and the server response is 500. So, the question is, is there any possibility to limit the number of points to be returned so the response is not so heavy?

 

Thank you

 

Kind regards

Jan_Mantau
Denali

It's not clear from your description if you have encountered a problem or if you're just curious. In any case some more details would be helpful.

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