Hi @delucadana. Despite the similar names, the Arduino Uno WiFi Rev2 is very different from the Arduino Uno WiFi. This is the cause of the upload error you are having.
In order to use the Uno WiFi Rev2 in the Arduino IDE, you must first install its boards platform by following these instructions:
- Select Tools > Board > Boards Manager from the Arduino IDE's menus.
- Wait for the update to finish.
- Scroll down through the list of available boards platforms until you see "Arduino megaAVR Boards". Click on it.
- Click the Install button.
- Wait for the installation to finish.
- Click the Close button.
- Select Tools > Board > Arduino megaAVR Boards > Arduino Uno WiFi Rev2 from the Arduino IDE's menus.
Now you can try uploading again.