Getting error 74 with DFU-Util with board connected

Every time when i try to upload code to my arduino nano esp32 (with DFU-util) i get error 74 in two variations (am using vscode on ubuntu), either
dfu-util: No DFU capable USB device available
*** [upload] Error 74
or
dfu-util: Error during download (LIBUSB_ERROR_IO)
*** [upload] Error 74
When using command: $ ls -l /dev/tty*
I find that the port is /dev/ttyACM0, which is what i set the upload port to in platformio.ini (added picture).
I have also tried using some sample code, to no result.
When I started having this issue, reopening vscode or pressing the reset button fixed it, but not anymore.

I feel like this might be a very stupid problem/answer, but i couldn’t find anything online that fixed it, so thank you in advance :slight_smile:

image

@jonathan.simon.kuhn:
Hi Jonathan,
I get the same error, did you find a solution?
Thanks,

I solved this by resetting the Arduino bootloader, according to this article: