Skip to main content

AI.KEY_IN_FILE

Error code AI.KEY_IN_FILE, raised by cli. Area: AI.

What it means​

  • API keys are never stored in connections

What to do​

  • Use api_key_env (an environment variable name) or a vault credential reference.

In a Try block, a Catch can match this code. An internal error shows a reference such as ERR-…: an administrator finds the details beside it in the server log.

Search words: AI KEY_IN_FILE key in file