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
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" } }
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Would you please let me know what endpoints are generating 500 errors? Also, when did this problem start?
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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?
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
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
Best Answer这很奇怪,以前从未发生过,当我访问 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已过期。
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi everyone,
We have resolved the 500 error with the activities collection. Please let me know if you are still receiving the error.
Best Answer
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
Hi @developerx
要成功调用 https://api.fitbit.com/1/user/-/apiSubscriptions.json,用户需要同意活动、食物、身体和睡眠范围。根据错误,听起来要么是用户没有同意这些范围,要么是您在 API 调用中缺少访问令牌。
Best Answer