Skip to content
opis.Nutrition API

← All error codes

key_in_query_rejected

API key in query string · HTTP 400

What it means

An API key was sent in the URL query string. The request is refused and the key is revoked.

What to do

Create a new key and send it only in the Authorization header.

Example

{
  "type": "https://platform.opis.health/docs/errors/key_in_query_rejected",
  "title": "API key in query string",
  "status": 400,
  "detail": "…",
  "code": "key_in_query_rejected",
  "request_id": "req_01k68a9nytdxx0x5x0p47zgrm8"
}