09-16-2024 04:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

Recovery Runner
8
0
1
09-16-2024 04:25
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
We received a numeric value starting with zero in activity source id for GET 1/user/-/activities/list.json, see below:
"activities": [
{
"logId": 8068998942047709568,
...
"source": {
"type": "tracker",
"name": "Versa 3",
"id": 092159388124,
...
}
}
]
That doesn't look as proper JSON formatting, as number starting with zero would be treated as octal, and JSON doesn't support octals. When parsing this, we get an exception "Invalid numeric value: Leading zeroes not allowed".
Please let me know if it can be corrected on your side or if we need to develop some custom workaround on our side.
1 REPLY 1
09-16-2024 10:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post



Fitbit Developer
2071
218
503
09-16-2024 10:29
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi @martaen
Thank you for reporting this problem. I am checking with engineering and will report back to you.
Gordon Crenshaw
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google
Senior Technical Solutions Consultant
Fitbit Partner Engineering & Web API Support | Google

