-
Notifications
You must be signed in to change notification settings - Fork 30
Error: invalid_client #241
Description
I just installed the Particle Desktop IDE using a fresh install from the installer on the website (Windows 10 x64). https://docs.particle.io/guide/tools-and-features/dev/
When I first start using the Particle Desktop IDE, everything works fine. The first time I click the "Compile in the cloud and show errors if any" or the "Compile in the cloud and upload code using cloud" buttons they work successfully. However, after the first click something breaks, and those buttons (and most of the other Particle specific buttons) stop working. The only solution I have found is to close the Particle Desktop IDE and restart it.
I checked the developer console, and every ~30 seconds I see the following error:
Unhandled promise rejection Rejected with error: Error: invalid_client
at Spark.normalizeErr (C:\Users\bkraus\AppData\Local\particledev\app-1.19.0\resources\app\node_modules\spark\lib\spark.js:117)
at Spark. (C:\Users\bkraus\AppData\Local\particledev\app-1.19.0\resources\app\node_modules\spark\lib\spark.js:151)
at Request.self.callback (C:\Users\bkraus\AppData\Local\particledev\app-1.19.0\resources\app\node_modules\request\request.js:188)
at emitTwo (events.js:106)
at Request.emit (events.js:191)
at Request. (C:\Users\bkraus\AppData\Local\particledev\app-1.19.0\resources\app\node_modules\request\request.js:1171)
at emitOne (events.js:96)
at Request.emit (events.js:188)
at IncomingMessage. (C:\Users\bkraus\AppData\Local\particledev\app-1.19.0\resources\app\node_modules\request\request.js:1091)
at Object.onceWrapper (events.js:290)
at emitNone (events.js:91)
at IncomingMessage.emit (events.js:185)
at endReadableNT (_stream_readable.js:974)
at _combinedTickCallback (internal/process/next_tick.js:74)
at process._tickCallback (internal/process/next_tick.js:98)