06-19-2023 08:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-19-2023 08:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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.
Answered! Go to the Best Answer.
Accepted Solutions
06-26-2023 00:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-26-2023 00:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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!

06-26-2023 00:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



06-26-2023 00:38
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
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!

