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

Alarm post request Error 500

I am new to the Fitbit API and am attempting to set an alarm through the API. Post requests to add and modify alarms both result in ERROR 500 codes. Even Swagger UI isn't able to execute the post requests. Any suggestions on what I can do?

Also, here is my curl request: curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'Authorization: Bearer <token> 'https://api.fitbit.com/1/user/-/devices/tracker/<tracker-id>/alarms.json?time=6%3A40+05%3A30&enabled...'

And this is the response: {"errors":[{"errorType":"request","fieldName":"500","message":"An error occurred with the Fitbit Web API while processing the request. Error id: A29E2E2E:416B_A92D826B:01BB_5B2C8DE2_33F0095F:2555"}],"success":false}

Best Answer
0 Votes
1 REPLY 1

Hi @adisoni 

 

What type of tracker are you trying to setup the alarm through the APIs?  

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