I have had Particle Workbench installed on my computer and I have always used it logged into my personal Particle developer account. Recently, I was asked to fill in for the chief IT person at a non-profit makerspace for a Particle-based system that I helped to develop. In the past, I have always developed and tested in my own Particle account and then turned the code over the the IT person for installation on the deployed Particle devices, which are in the facility's Particle account. Now that I am filling in for the IT person who is out of the country for a month, I found a need to flash code onto a deployed Particle device. I was given the facility's login and password and I used these credentials to log in to the facility's account via the workbench. Everything went fine until I tried to OTA flash compiled code to a device in the facility's account. Flashing failed owning to a token error. No further information was given on the terminal.
I tried several times - same result. I logged out of the facility's account and got the option to retain the token. If I say "Y", logout goes OK. If I say "n", I am asked for the password, which I gave correctly, but the logout is rejected.
I logged in and out with my personal account, both keeping the token and not keeping it, and all worked fine. But this procedure does not work with the facility's account.
I tried the web IDE with the facility's account and had no problem flashing code to the device.
I uninstalled VS Code and reinstalled it but the problem persists. After reinstalling VS Code and the Particle extensions, I was surprised to find out that launching Workbench seems to have all of my history, even through a complete reinstall of the code. Therefore, I believe that uninstalling the code leaves some file with my settings on the my computer, and that this file must have the "offending" token stuck in it.
Please help me to clear this up so that I can flash code to facility devices using Workbench. I am acting IT for the next 3 weeks and I need to maintain devices deployed in the facility. Using Web IDE is fine to flash Blink to a device, but there are too many files in the production code to make this a viable option.