Reset your tokens
If you run into any problems with your tokens and have problems opening the plugin, you can always reset your tokens.
If you have the tokens only on the local document, you will lose these tokens by resetting the tokens. If you have your tokens connected to an external syncing provider, you can pull the tokens again from the repository after resetting the tokens.
Open your developer tools and go to the console:
Cmd + Option + i (on a Mac) or
Ctrl +Shift + i (on Windows) and then click on the
Inside the console enter
figma.root.getSharedPluginData("tokens", "values") to get the token JSON.
After you got the JSON via the command above, you can try to fix the JSON (e.g. by copying it into a code editor).
figma.root.setSharedPluginData("tokens", "values", "INSERT YOUR JSON HERE}}") to set the JSON to what you'd like to set it to.
You can also just type
figma.root.setSharedPluginData("tokens", "values", "") to reset the JSON to an empty state.
Afterwards you can restart the plugin and it will show you the ‘Get Started’ page.