I am attempting to export a basic AOI of a Landsat-8 image, but I keep encountering the error mentioned in the title. Can you help me understand why this error is occurring? All the bands in my image are floats so I don't see where the issue lies.
var polygon =
/* color: #ffc82d */
/* displayProperties: [
{
"type": "rectangle"
}
] */
ee.Geometry.Polygon(
[[[-3.8916300564568784, 58.548252075724285],
[-3.8916300564568784, 58.534321246028455],
[-3.872489812926605, 58.534321246028455],
[-3.872489812926605, 58.548252075724285]]], null, false),
images = ee.ImageCollection("LANDSAT/LC08/C01/T1_TOA");
var image = ee.Image(images.filterDate('2016-05-01', '2020-07-01').filterBounds(polygon).sort('CLOUD_COVER').first());
Export.image.toDrive({
image: image,
description: "site",
region:polygon,
scale: 30,
})