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

Web API: Trying to create an Alarm. Fails with 500 and no details...

ANSWERED

 

 

POST https://api.fitbit.com/1/user/7JN333/devices/tracker/817030095/alarms.json?time=17:45-5:00&enabled=true&recurring=false&weekDays=SATURDAY
Authorization: Bearer ***
An error occurred with the Fitbit Web API while processing the request. Error id: 0242f6fffec9744c-002aef50-0ee4b4d7-7599a2ad930156a0-44ad1652-15

 

 

 

https://dev.fitbit.com/build/reference/web-api/troubleshooting-guide/error-messages/

 

500 Internal Server Error:

An error occurred with the Fitbit Web API while processing the request.Try your request later.

 

I've tried it several times over the past several minutes to no avail... Can the error be more detailed? I have no idea if I'm doing something wrong (new to your API so that's entirely possible), or if this is exclusively a problem with your server.

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Hi @cory22222222222 

 

It looks like the UTC offset in your "time=" parameter is missing a 0. Please try again using the HH:MM formatting. In this case, it should look like this :

time=17:45-05:00

 

Let me know if this helps!

View best answer in original post

Best Answer
2 REPLIES 2

Hi @cory22222222222 

 

It looks like the UTC offset in your "time=" parameter is missing a 0. Please try again using the HH:MM formatting. In this case, it should look like this :

time=17:45-05:00

 

Let me know if this helps!

Best Answer

Oh god I'm so embarrassed. Thank you John. 😃

Best Answer
0 Votes