Skip to content

invalid-parameter

Status 400
Title Invalid parameter
Code invalid-parameter
Type https://docs.satellitedata.net/problems/invalid-parameter

Available now Lean v1 can return this problem.

A query or path parameter is malformed or out of range.

  • A bbox without four numbers, or with west greater than east.
  • A datetime that is not an RFC 3339 instant or interval.
  • max_size outside 64 to 1,024, or a limit out of range.
  • A preset asked to render a collection it does not accept, or a tile format it does not serve.
  • An unknown query parameter; lean v1 rejects them rather than ignoring them.

Read detail, which names the parameter, and correct its value. errors[].pointer gives the parameter name when several are wrong.

The detail is the example from the v1 contract.

{
"type": "https://docs.satellitedata.net/problems/invalid-parameter",
"title": "Invalid parameter",
"status": 400,
"detail": "datetime must be an interval of at most 15 years.",
"instance": "/v1/...",
"code": "invalid-parameter",
"requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"
}

See Errors for the members every problem carries.