Workbench doesn't load the dependencies from Github. I was able to successfully use Particle: Configure Project for Device to select a P2 and 5.9.0.
You do need to have a valid access token, so you might want to do a Particle: Login again in case the error message doesn't differentiate a missing release vs. a release that can't be downloaded because of a token issue.
C:\...\target\5.9.0\p2>particle flash --local -v
Flashing p2 0a10aced202194944a0539e4
Device OS version not found for platform: 32 version: 5.9.0
Error: Device OS version not found for platform: 32 version: 5.9.0
at Object.downloadDeviceOsVersionBinaries (C:\snapshot\particle-cli\src\lib\device-os-version-util.js:58:10)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async FlashCommand._flashLocal (C:\snapshot\particle-cli\src\cmd\flash.js:156:28)
at async Object.executeWithUsbDevice (C:\snapshot\particle-cli\src\cmd\usb-util.js:138:3)
at async FlashCommand.flashLocal (C:\snapshot\particle-cli\src\cmd\flash.js:125:3)
at async FlashCommand.flash (C:\snapshot\particle-cli\src\cmd\flash.js:57:4)
at async CLI.runCommand (C:\snapshot\particle-cli\src\app\cli.js:147:4)
at async CLI.run (C:\snapshot\particle-cli\src\app\cli.js:176:11)
Looking at device-os-version-util.js,
catch (error) {
if (error.message.includes('404')) {
throw new Error(`Device OS version not found for platform: ${platformId} version: ${version}`);
}
throw error;
}
We had an error in a Github tab for that release that was limiting the ability to download the binaries, thanks for your patience and for reporting. It has been fixed, can you please try again now? Should work!