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

Please advise why Get AZM Intraday by Date fails?

ANSWERED

I am having trouble finding the cause of the error, and would greatly appreciate any advice you could give me if possible.

The following call is executed successfully.

> curl -X GET "https://api.fitbit.com/1/user/-/activities/heart/date/2023(hyphen)06(hyphen)18/7d.json" \
> -H "accept: application/json" \
> -H "authorization: Bearer <token>"

>> {"activities-heart":[{"dateTime":"2023(hyphen)06(hyphen)12","value":{"customHeartRateZones".....

The following call returns a 500 error.

> curl -X GET "https://api.fitbit.com/1/user/-/activities/active-zone-minutes/date/2023(hyphen)06(hyphen)18/1d/1min..." \
> -H "accept: application/json" \
> -H "authorization: Bearer <token>"

>> {"errors":[{"errorType":"system","fieldName":"n/a","message":"Internal server error."}]}

*I can't seem to enter a date hyphen, so I'm using (hyphen) instead.
*Uses machine translation.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @Yogorouza,

Thanks for reporting this, and I'll be happy to take a look.

So that I can investigate, could you please PM me your client id? Also in the meantime, can you retry your request so I can capture it in our error logs? Once I have the info, I'll reach out to you with more information. Thanks!

View best answer in original post

Best Answer
0 Votes
1 REPLY 1

Hi @Yogorouza,

Thanks for reporting this, and I'll be happy to take a look.

So that I can investigate, could you please PM me your client id? Also in the meantime, can you retry your request so I can capture it in our error logs? Once I have the info, I'll reach out to you with more information. Thanks!

Best Answer
0 Votes