mkr wifi 1010 - uploading error SAM-BA operation failed

I am receiving the "SAM-BA operation failed" error whenever I upload any sketch to my new original Arduino mrk wifi 1010. This includes the upload of the simple Blink sketch.

Various sketches compile fine and actually seem to upload and run fine.

But the Arduino IDE always returns an orange text error that the "SAM-BA operation failed" during the upload. Apparently this relates to the "Microchip SAM Boot Assistance (SAM-BA) software"

I did not see any other posts on the SAM-BA and am hoping there is a solution to avoid this error going forward.

Any help appreciated.


Portion of error message

"Arduino: 1.8.9 (Windows 7), Board: "Arduino MKR WiFi 1010"

....

Sketch uses 17952 bytes (6%) of program storage space. Maximum is 262144 bytes.

Atmel SMART device 0x10010005 found
Device : ATSAMD21G18A
Chip ID : 10010005
Version : v2.0 [Arduino:XYZ] Mar 19 2018 09:45:14
Address : 8192
Pages : 3968
Page Size : 64 bytes
Total Size : 248KB
Planes : 1
Lock Regions : 16
Locked : none
Security : false
Boot Flash : true
BOD : false
BOR : false
Arduino : FAST_CHIP_ERASE
Arduino : FAST_MULTI_PAGE_WRITE
Arduino : CAN_CHECKSUM_MEMORY_BUFFER
Erase flash
done in 0.822 seconds

Write 18240 bytes to flash (285 pages)

[====== ] 22% (64/285 pages)
[============= ] 44% (128/285 pages)
[==================== ] 67% (192/285 pages)
[========================== ] 89% (256/285 pages)
[==============================] 100% (285/285 pages)

SAM-BA operation failed
done in 0.123 seconds

Verify 18240 bytes of flash with checksum.
Verify successful
done in 0.027 seconds
CPU reset.
An error occurred while uploading the sketch"

FYI, I was told that connecting the board through a usb 2.0 hub would eliminate the error, and it did. However, connecting directly to the usb 2.0 port on my computer did not work for some reason.