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

Fitbit API while processing the request

Hi

We are trying to access "Add Alarm" API with valid device id and parameters, but getting below error response, 

{"errors":[{"errorType":"request","fieldName":"500","message":"An error occurred with the Fitbit API while processing the request. Please contact api@fitbit.com for assistance."}],"success":false}

API URL: /1/user/-/devices/tracker/XXXXXX/alarms.json

Parameters:

 NSMutableDictionary *fields = [[NSMutableDictionary alloc] init];

    [fields setObject: @"10:30+05:30" forKey:@"time"];

    [fields setObject: @"true" forKey:@"enabled"];

    [fields setObject: @"false" forKey:@"recurring"];

    [fields setObject: @"MONDAY,TUESDAY,WEDNESDAY,THURSDAY,FRIDAY" forKey:@"weekDays"];

 

 

Best Answer
0 Votes
0 REPLIES 0