Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

invalid auth error when using time period for activities

Hi all!

 

I don't have problems getting the data for one day only, but as soon as I try a time period, I get this error:

#400: Invalid auth/bad request (got a 400, expected HTTP/1.1 20X or a redirect)

This is the URL I try to fetch:

https://api.fitbit.com/1/user/-/activities/date/2015-05-25/2015-05-26.xml

Any idea what I am doing wrong?

I'm using the PHP library (FitBitPHP.php).

 

Best regards,

Silke

Best Answer
0 Votes
1 REPLY 1

What error response body do you get?

Ivan Bahdanau
Senior Software Developer at Fitbit
Best Answer
0 Votes