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

Companion Settings - SyntaxError: Unexpected token o in JSON at position 1

Hello my settings Page works on simulator. It also worked few weeks without changes on Android device.

I am preparing to releease my app but now on real device I am getting following error:

[HOST][10:40:46 PM]Settings Started
[HOST][10:40:48 PM]SyntaxError: Unexpected token o in JSON at position 1
[HOST][10:40:48 PM]Uncaught SyntaxError: Unexpected token o in JSON at position 1
[HOST][10:40:50 PM]Settings Closed

What do you recommend? Thank you!

Best Answer
0 Votes
2 REPLIES 2

I've noticed variations in behaviour between devices re this error. See if anything here helps: https://community.fitbit.com/t5/SDK-Development/Fitbit-OS-Simulator-Unexpected-token/m-p/2620420#M36...

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Hello, thank you! I've already known this issue.  But my problem is that I didn't change a thing and settings stopped working on my phone. Only Fitbit Android app has been updated.

Best Answer
0 Votes