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

npx fitbit - Login Failed

Hi there,

 

I'm trying to build my first watch face.

After using create-fitbit-app and building it. 
When I use the npx fitbit command, my browser opens up on fitbit.com and I login, then I get this error

λ npx fitbit
No login information, starting login...
Login failed: A specified logon session does not exist. It may already have been terminated.

Has anyone encoutered this problem before?

Best Answer
0 Votes
4 REPLIES 4

3 months later and I am still getting this error.

I can't use the CLI because of this problem, I'm stuck with the Fitbit Studio

Best Answer
0 Votes

What OS and version are you running? These errors generally come from the host OS. We store login details in the keychain (or similar provided by the OS) and sometimes we get these very opaque errors back when things go wrong.

Best Answer
0 Votes

I get this issue when attempting to build on Pop-os(Ubuntu Distro that is provided from System76).

Chromium redirects me to a page saying to close browser.

below is what I get when attempting to build. From my research it has to do with chrome and firefox have a local sql db instead of using the system's keyring. to pass the system's keyring into the chrome browser:
$ chromium -password-store=gnome
----------------------------------------------------------------
naga@testboxn:~/fitbit/sdk-moment$ npx fitbit
No login information, starting login...
** Message: 00:44:04.056: Remote error from secret service: org.freedesktop.Secret.Error.IsLocked: Cannot create an item in a locked collection
Login failed: Cannot create an item in a locked collection

Best Answer
0 Votes

I got the same issue, Did you get a solution?

 

Best Answer
0 Votes