Skip to content

invalid-key

Status 401
Title Invalid or missing credentials
Code invalid-key
Type https://docs.satellitedata.net/problems/invalid-key

Available now Lean v1 can return this problem.

The route needs a credential, and none was sent or the one sent is not valid.

  • No X-API-Key header.
  • A key copied with a space or a missing character.
  • A key that has been removed.
  • The key sent in a query string instead of the header.

Send your key in the X-API-Key header. Check it against the value you were given. If it still fails, ask the owner whether it was replaced. This error comes from the gateway, so the request id is in requestId, not an X-Request-Id header.

The detail is the example from the v1 contract.

{
"type": "https://docs.satellitedata.net/problems/invalid-key",
"title": "Invalid or missing credentials",
"status": 401,
"detail": "Send a valid key in the X-API-Key header.",
"instance": "/v1/...",
"code": "invalid-key",
"requestId": "01JQ7Z3M8R5V2W6X9Y0A1B2C3D"
}

See Errors for the members every problem carries.