Code-settings-sync: correct token been added but the plugin keep saying its invalid

Created on 17 Nov 2017  ·  15Comments  ·  Source: shanalikhan/code-settings-sync

Visual Studio Code Version : version 1.19.0
Code Settings Sync Version : 2.8.6
Operating System : Mac OS X
Occurs On: [Upload & Download & Help Configuring ]
Proxy Enabled: [ No ]
GIst Id: [ https://gist.github.com/adamchenwei/bd846fbef0ece06ae73ca99a1619cfeb ]

I pasted the exact id of bd846fbef0ece06ae73ca99a1619cfeb into the field popped up. But it keep saying its invalid with these two errors

Sync : Error Logged In Console (Help menu > Toggle Developer Tools).
Sync : Invalid / Expired GitHub Token. Please generate new token with scopes mentioned in readme. Exception Logged in Console.
*and there is NO errors records in the console. Also it directs me to my gist page.

question ❓

Most helpful comment

I just simply started using another plugin, works a lot better.

All 15 comments

bd846fbef0ece06ae73ca99a1619cfeb is your GIST ID
it is not token.
Read the readme once again thoroughly

I have the same issue. AND I HAVE BEEN FOLLOWING THE TUTORIAL. The token menu doesn't even come up, tried reinstalling, still not working @shanalikhan

@Modelmat whats your gist id
and may i know where you have placed the token

The thing I generated on github is: 48d1a7ac399af303ae3922e415bd79812f670dde. I can't enter it anywhere. Placing it in the "sync.gist" didn't work/.

you need to place the token here.
https://github.com/shanalikhan/code-settings-sync#customized-sync

I don't have a syncLocalSettings.json in my C:UsersMe.vscode folder anywhere

@shanalikhan I figured it out. I had to delete the syncLocalSettings.json from %appdata%\Code\User\.

Maybe make a FAQ, it is pretty hidden.

I just simply started using another plugin, works a lot better.

Adam and modelmat,

Feel free to send me pull request in order to improve the document to help other users understanding much better i will release new version for it

Yep. When I have some time, I can make some Wiki pages for you

we can link them in readme page

But i think user wont go wiki pages that much they will read the readme most of the time.

Get Outlook for iOShttps://aka.ms/o0ukef


From: Modelmat notifications@github.com
Sent: Saturday, December 9, 2017 9:01:15 AM
To: shanalikhan/code-settings-sync
Cc: Shan Khan; Mention
Subject: Re: [shanalikhan/code-settings-sync] correct token been added but the plugin keep saying its invalid (#452)

Yep. When I have some time, I can make some Wiki pages for you


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/shanalikhan/code-settings-sync/issues/452#issuecomment-350422005, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AIXjnMKUt9HYe2bpphhsin8Iej5VWU5lks5s-gYLgaJpZM4QiWgM.

Yeah. The README is a bit overcrowded too. Should we make a new issue?

Lets go with the Wiki pages, we can reference them in readme.

See issue #468

For the people who are getting the same error as OP.
Go to this url:
https://github.com/shanalikhan/code-settings-sync#customized-sync

Pick one of the below paths for your OS:
Windows, this is %APPDATA%CodeUsersyncLocalSettings.json.
Mac, $HOME/Library/Application Support/Code/User/syncLocalSettings.json.
Linux, ~/.config/Code/User/syncLocalSettings.json.

cd into your User folder below.
Remove the syncLocalSettings.json file

Was this page helpful?
0 / 5 - 0 ratings