Skip to content

units-unavailable

Status 422
Title Units unavailable
Code units-unavailable
Type https://docs.satellitedata.net/problems/units-unavailable

Available now Lean v1 can return this problem.

The collection, or this phase of the API, cannot return the requested units.

  • A unit such as KELVIN or CELSIUS in lean v1, which offers DN and REFLECTANCE.
  • A unit that does not fit the collection, such as DB on an optical collection.

Use DN or REFLECTANCE. See Values, scale and offset.

{
"type": "https://docs.satellitedata.net/problems/units-unavailable",
"title": "Units unavailable",
"status": 422,
"detail": "The collection, or this phase of the API, cannot return the requested `units`.",
"instance": "/v1/...",
"code": "units-unavailable",
"requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"
}

The detail above is a placeholder; the real one names the value at fault.

See Errors for the members every problem carries.