# Error While flashing code

**URL:** <https://community.particle.io/t/error-while-flashing-code/65517>\
**Category:** Firmware\
**Created:** [September 27, 2023, 11:18pm UTC](https://community.particle.io/t/error-while-flashing-code/65517 "2023-09-27T23:18:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![joe\_boron](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@joe\_boron](https://community.particle.io/u/joe_boron)\
**Post date:** [September 29, 2023, 7:41pm UTC](https://community.particle.io/t/error-while-flashing-code/65517/2 "2023-09-29T19:41:46Z")

</div>

So I ran this command and it worked for me (I was able to compile and flash code to the boron on Workbench successfully):

```auto
particle update-cli

```

For others that come across this issue you can try the same or if yours didn't work, you can view [this](https://community.particle.io/t/cant-perform-local-flash-all-of-a-sudden/60238) site.

I also re-installed Particle Workbench from [this](https://docs.particle.io/getting-started/developer-tools/workbench/) guide.

Hope this helps!!

---

_[View the full topic](https://community.particle.io/t/error-while-flashing-code/65517)._
