Skip to Content
0
Aug 08, 2023 at 07:30 AM

SAP AI Core SDK Issue - ai-core-sdk==1.22.3

339 Views

While trying to use AI Core SDK and connecting to instance using service keys, getting the error as ai_api_client_sdk.exception.AIAPIAuthenticatorException: Could not retrieve Authorization token.

we are using ai-core-sdk==1.22.3 package for our scenario and following on the azure-openai-aicore-cap-api/01-ai-core-azure-openai-proxy/proxy.ipynb at main · SAP-samples/azure-openai-aicore-cap-api · GitHub usecase.

microsoftteams-image-1.png. we have created a separate json document with the service key details and trying to use it by calling through AICoreV2Client.

Also, PFA the images for your reference.