10-15-2024 00:38
10-15-2024 00:38
Hi there
Seems like we're getting 500 Response codes from FitBit. The API page however, does not reflect any issues.
@JohnFitbit can you please advice on any issue || What you are seeing on your side. Regards
10-15-2024 21:50
10-15-2024 21:50
I'm seeing error code 500 when querying the subscription URL:
https://api.fitbit.com/1/user/*******/activities/apiSubscriptions.json
{ "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" } }
10-16-2024 06:29
10-16-2024 06:29
Would you please let me know what endpoints are generating 500 errors? Also, when did this problem start?
10-16-2024 06:31
10-16-2024 06:31
Thank you for providing the endpoint where the 500 errors are occuring. When did this problem start for you? Is "activities" the only collection returning a 500 error when calling Get Subscription List?
10-17-2024 01:05
10-17-2024 01:05
Hi Gordon, We are still experiencing this and the issue started early October. Can you advise?
Chris
10-17-2024 04:43
10-17-2024 04:43
I think there's a problem with the "Activity" category.
10-17-2024 11:29
10-17-2024 11:29
Hi everyone,
Thank you for reporting this problem. I have been able to reproduce the problem and have reported it to engineering. In the meantime, are you able to use the following endpoint until the problem is fixed?
GET https://api.fitbit.com/1/user/-/apiSubscriptions.json
10-17-2024 21:37 - edited 10-17-2024 21:57
10-17-2024 21:37 - edited 10-17-2024 21:57
这很奇怪,以前从未发生过,当我访问 api.fitbit.com/1/user/-/apiSubscriptions.json时,出现错误:
请求缺少所需的身份验证凭证。预期的 OAuth 2 访问令牌、登录 Cookie 或其他有效的身份验证凭证。请参阅 https://developers.google.com/identity/sign-in/web/devconsole-project。
但 https://developers.google.com/identity/sign-in/web/devconsole-project已过期。
10-18-2024 06:49
10-18-2024 06:49
Hi everyone,
We have resolved the 500 error with the activities collection. Please let me know if you are still receiving the error.
10-18-2024 06:55
10-18-2024 06:55
Hi @developerx
要成功调用 https://api.fitbit.com/1/user/-/apiSubscriptions.json,用户需要同意活动、食物、身体和睡眠范围。根据错误,听起来要么是用户没有同意这些范围,要么是您在 API 调用中缺少访问令牌。