BioFlow / API docs / Errors / invalid_api_key

invalid_api_key

HTTP 401application/problem+json

Missing, malformed, unknown, disabled, or expired API key.

What causes it

  • No Authorization: Bearer or x-api-key header was sent.
  • The key is malformed, was revoked/disabled in the developer console, or has expired.

How to fix it

  • Create or roll a key in the developer console (Dashboard → Settings → Developers) and send it on every request.
  • Check for whitespace or truncation — keys start with bf_live_ or bf_test_.
Wire format

Example response body.

{ "type": "https://getbioflow.com/docs/api/errors/invalid-api-key", "title": "Missing, malformed, unknown, disabled, or expired API key", "status": 401, "instance": "urn:request:req_01abc", "code": "invalid_api_key", "request_id": "req_01abc" }

Branch on the stable code field — title and detail are for humans and may change. type always resolves to this page. Quote request_id when contacting support. Full code registry on the API docs hub; the complete surface is in the interactive reference.