cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to open KDB AI session

Utsav
New Contributor

Hi Team,

 
I'm getting below error in the kdb.ai UI

Starter Edition Database

 
Not Running

For assistance with your database review documentation for common scenarios or email support.

API Keys

The starter edition database has the option to generate three API keys at a time.

 

 

No API keys exist yet. Add a new key to get started with your database.
While running the below code and providing API endpoint and key, it is resulting in below error 
 
KDBAI_ENDPOINT = (
os.environ["KDBAI_ENDPOINT"]
if "KDBAI_ENDPOINT" in os.environ
else input("KDB.AI endpoint: ")
)
KDBAI_API_KEY = (
os.environ["KDBAI_API_KEY"]
if "KDBAI_API_KEY" in os.environ
else getpass("KDB.AI API key: ")
)
 
KDBAIException: Failed to open a session on https://cloud.kdb.ai/instance/ using API key with prefix 6fa28fb0fe. Please double check your `endpoint` and `api_key`.
(I have shared the complete session endpoint over email to support@cloud.kdb.ai)
1 REPLY 1

megan_mcp
Community Manager Community Manager
Community Manager

Hi @Utsav,

Thank you for contacting our support email.

We also have a dedicated slack channel that you can join using this link https://kdbai-community.slack.com/ - here you can receive help to issues like you this one you have just mentioned.

Hope this helps,

Megan