Errors

malformed_api_key

The Authorization header is malformed

There was an Authorization header, but not in the form Njiwa expects.

What to do

The exact form is Authorization: Bearer sk_live_.... One space, the word Bearer, then the key.

The shape

{
  "error": {
    "type": "...",
    "code": "malformed_api_key",
    "message": "...",
    "docs": "https://docs.njiwa.upeo.ai/errors/malformed_api_key"
  }
}