Hi,
We are trying to create a new BYOC collection for 8-band planet imagery but getting an error as bad request as below. We think it could be a problem due to wrongly configured data_mask. Please help.
{
“error”: {
“status”: 400,
“reason”: “Bad Request”,
“message”: “Band mismatch. Ordered [band ‘blue’ (source = ‘image’, bandIndex = 2 and bitDepth = 16), band ‘clear’ (source = ‘udm2’, bandIndex = 1 and bitDepth = 8), band ‘cloud’ (source = ‘udm2’, bandIndex = 6 and bitDepth = 8), band ‘coastal_blue’ (source = ‘image’, bandIndex = 1 and bitDepth = 16), band ‘confidence’ (source = ‘udm2’, bandIndex = 7 and bitDepth = 8), band ‘green’ (source = ‘image’, bandIndex = 4 and bitDepth = 16), band ‘green_i’ (source = ‘image’, bandIndex = 3 and bitDepth = 16), band ‘haze_heavy’ (source = ‘udm2’, bandIndex = 5 and bitDepth = 8), band ‘haze_light’ (source = ‘udm2’, bandIndex = 4 and bitDepth = 8), band ‘nir’ (source = ‘image’, bandIndex = 8 and bitDepth = 16), band ‘red’ (source = ‘image’, bandIndex = 6 and bitDepth = 16), band ‘rededge’ (source = ‘image’, bandIndex = 7 and bitDepth = 16), band ‘shadow’ (source = ‘udm2’, bandIndex = 3 and bitDepth = 8), band ‘snow’ (source = ‘udm2’, bandIndex = 2 and bitDepth = 8), band ‘udm1’ (source = ‘udm2’, bandIndex = 8 and bitDepth = 8), band ‘yellow’ (source = ‘image’, bandIndex = 5 and bitDepth = 16)] but collection contains [band ‘blue’ (source = ‘image’, bandIndex = 2 and bitDepth = 16), band ‘clear’ (source = ‘udm2’, bandIndex = 1 and bitDepth = 8), band ‘cloud’ (source = ‘udm2’, bandIndex = 6 and bitDepth = 8), band ‘coastal_blue’ (source = ‘image’, bandIndex = 1 and bitDepth = 16), band ‘confidence’ (source = ‘udm2’, bandIndex = 7 and bitDepth = 8), band ‘data_mask’ (source = ‘data_mask’, bandIndex = 9 and bitDepth = 8), band ‘green’ (source = ‘image’, bandIndex = 4 and bitDepth = 16), band ‘green_i’ (source = ‘image’, bandIndex = 3 and bitDepth = 16), band ‘haze_heavy’ (source = ‘udm2’, bandIndex = 5 and bitDepth = 8), band ‘haze_light’ (source = ‘udm2’, bandIndex = 4 and bitDepth = 8), band ‘nir’ (source = ‘image’, bandIndex = 8 and bitDepth = 16), band ‘red’ (source = ‘image’, bandIndex = 6 and bitDepth = 16), band ‘rededge’ (source = ‘image’, bandIndex = 7 and bitDepth = 16), band ‘shadow’ (source = ‘udm2’, bandIndex = 3 and bitDepth = 8), band ‘snow’ (source = ‘udm2’, bandIndex = 2 and bitDepth = 8), band ‘udm1’ (source = ‘udm2’, bandIndex = 8 and bitDepth = 8), band ‘yellow’ (source = ‘image’, bandIndex = 5 and bitDepth = 16)]”,
“code”: “COMMON_BAD_PAYLOAD”
}
}
Thanks,
James