Skip to content
Beta: the Biskèt Partner API may still change before v1 is final. Sandbox access is by request:partners@bisket.ai.

Wrong environment

wrong_environment · HTTP 401

What happened

A `bk_test_` key was sent to the live host, or a `bk_live_` key to the sandbox.

What to do

Use https://sandbox.api.bisket.ai with test keys and https://api.bisket.ai with live keys.

The response

{
  "type": "https://developers.bisket.ai/errors/wrong_environment",
  "title": "Wrong environment",
  "status": 401,
  "detail": "…",
  "instance": "/v1/…",
  "code": "wrong_environment",
  "request_id": "req_01JC…"
}

Match on code, never on title or detail (their wording may change). Quote request_id to support.All error codes.