Arduino Leonardo unable to run a file

I just got a Leonardo Arduino. I am trying to test it out by uploading an example program ("fade"), but I am getting an error of:

Device not configured
the selected serial port avrdude: ser_close(): can't reset attributes for device: Device not configured
does not exist or your board is not connected

My board is connected and I can see it under the tools and board section. I've tried restarting my mac, using a different usb cable and port, but nothing has solved the issue.

I am using a MacBook Pro 2017 version 10.15.1