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

FitBit: Internal Service Error

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


Best Answer
9 REPLIES 9

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" } }

 

Best Answer

Hi @EddieTheEagle11 

Would you please let me know what endpoints are generating 500 errors?   Also, when did this problem start?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Hi @HansGroundRunne 

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?

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer

Hi Gordon, We are still experiencing this and the issue started early October. Can you advise?

Chris

Best Answer

I think there's a problem with the "Activity" category.

Best Answer

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

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

这很奇怪,以前从未发生过,当我访问 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
0 Votes

Hi everyone,

We have resolved the 500 error with the activities collection.   Please let me know if you are still receiving the error.

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes

Hi @developerx 

要成功调用 https://api.fitbit.com/1/user/-/apiSubscriptions.json,用户需要同意活动、食物、身体和睡眠范围。根据错误,听起来要么是用户没有同意这些范围,要么是您在 API 调用中缺少访问令牌。

Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Best Answer
0 Votes