Skip to content

EV3 firmware update fails on macOS with NotAllowedError: Failed to open the device #2817

Open

Description

@GLEM-Nambiar

Describe the bug
When I try to update my LEGO MINDSTORMS EV3 using Pybricks Code on macOS, the update fails because Pybricks cannot open the EV3 device.

The error shown is:

An unexpected error occurred.

Failed to open the device.

NotAllowedError: Failed to open the device.

I am trying to update because my current Pybricks installation on the EV3 appears to be an older version.

To reproduce
Steps to reproduce the behavior:

  1. Connect a LEGO MINDSTORMS EV3 to a Mac using USB.
  2. Open Pybricks Code in Google Chrome.
  3. Select/connect to the EV3.
  4. Attempt to update the device/firmware.
  5. Select the EV3 when prompted by the browser.
  6. The update fails and displays `NotAllowedError: Failed to open the device.

Expected behavior
I expected Pybricks Code to successfully open the EV3 over USB and proceed with the device/firmware update.

Instead, the EV3 cannot be opened and the update stops.

The error dialog says:

An unexpected error occurred. Please consider reporting this so we can make a better error message. Click the Copy Error Message button below to copy the technical details and paste it in the bug report. Also include the operating system you are using, the web browser you are using and the actions you performed that led to this error.
Failed to open the device.
NotAllowedError: Failed to open the device.

Additional information

Device: LEGO MINDSTORMS EV3
Operating System: macOS 15.6
Browser: Google Chrome
Connection: USB with USB-C adapter
Error: NotAllowedError: Failed to open the device

Activity

  1. added
    platform: EV3Issues related to LEGO MINDSTORMS EV3
    OS: macOSIssues that only occur on macOS
    software: pybricks-codeIssues with https://code.pybricks.com application
    and removed
    triageIssues that have not been triaged yet
    on Sep 4, 2026
  2. dlech commented on Sep 4, 2026

    @dlech
    Member

    I just successfully flashed the firmware on my M1 macbook, so it should be possible.

    When you first plug the EV3 into the computer when it is in update mode, you should see something like this.

    Image

    I'm guessing the error is because you didn't click Allow there.

    Hope that helps.

  3. added
    supportRequest for technical support for a problem that is not a bug or feature request
    on Sep 9, 2026
  4. laurensvalk commented on Oct 12, 2026

    @laurensvalk
    Member

    This might be something we need to add to the instructions.

    @dlech: Do you get that notification once, or do you get it again later if you accidentally dismiss it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS: macOSIssues that only occur on macOSplatform: EV3Issues related to LEGO MINDSTORMS EV3software: pybricks-codeIssues with https://code.pybricks.com applicationsupportRequest for technical support for a problem that is not a bug or feature requesttopic: flashing firmwareIssues related to fhe firmware flashing process

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions