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

API returning 500 Error

Hi, we have been getting error messages in the logs for the past couple of days (see below).  Any idea what is the cause?  Is there an issue specifically with MINUTES_FAIRLY_ACTIVE because that is always the data type that seems to cause the error.

 

ERROR c.c.device.fitbit.FitbitAPIClient: Failed to get data from fitbit using authToken 02698f9d92c8bac18706f460d8db8f20 for endDate 2015-07-21T07:52:59.158-07:00 for data type MINUTES_FAIRLY_ACTIVE_TRACKER []
com.fitbit.api.FitbitAPIException: 500: Something is broken. Please post to the group so the Fitbit team can investigate.
{"errors":[{"errorType":"request","fieldName":"500","message":"java.lang.NullPointerException\n Please reference error id: 36ECE4AD:A6D1_6CA8FE40:01BB_55AE5CCB_5964E60F:13E4"}],"success":false}

Best Answer
4 REPLIES 4

I'm having the same issue. Are you having some errors as there is no report on status.fitbit.com but we have got about 800 erros yesterday and about 300 the day before.

Regards,

Federico

 

 

Response Status:Error
Response Message:Data at the root level is invalid. Line 1, position 1.
Http Status Code: InternalServerError
Http Status Description: Internal Server Error
HTTP Content:{"errors":[{"errorType":"request","fieldName":"500","message":"java.lang.NullPointerException\n Please reference error id: 42B31582:D422_6CA8FE40:01BB_55AEBA3C_69C349FF:13E5"}],"success":false}

Best Answer
0 Votes

Thanks for confirming that others are experiencing this problem as well.  Eager to hear a response from Fitbit on this issue to find out if its something we should be concerned about.

Best Answer
0 Votes

Can you please provide the endpoint and an HTTP capture of your request? Are you consistently or sporadically getting a 500 with this type of request?

Best Answer
0 Votes

I found the request with the request id in the error you posted. The server that responded to that specific request was having issues, which is why the 500 error was returned. If you retried the request, it should succeed.

Best Answer
0 Votes