cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

AI Launchpad, Generic Secret Creation Error, Creation of Data Repository for Grounding not possible

Andrzej97
Explorer
0 Kudos
98

Hi, 

I'm exploring SAP AI Launchpad Standard and I have issue while creating Generic Secret.

I'm using SAP BTP Object Store to store my data. During creation of Generic Secret I've received following error: 

{
    "error": {
        "code": "400",
        "message": "'authentication' is missing in data."
    }
}
I added two labels: 
document-grounding : true
documentRepositoryType : S3
Andrzej97_0-1748002085262.png

With those labels (document-grounding to be specific) i got an error 

Andrzej97_1-1748002179528.png

, my secret structure looks as follows: 

 

{"access_key_id": "base64encoded",
"bucket": "base64encoded",
"host": "base64encoded", 
"region": "base64encoded", 
"secret_access_key": "base64encoded", 
"uri":"base64encoded",
"username":"base64encoded"}

 

so indeed there is no authentication field but what should passed there in S3 scenario?
Additionaly, if I try to create generic secret without label document-grounding:true it is possible but if I then go to Grounding Management and try to create Data Repository following error appears

Error Code: 404
Message: Received not found from document grounding api = {'requestId': '1394b8d8-88a1-46ee-b840-3b6408aef4dd', 'code': 404, 'message': 'Destination in Configuration not found'}

Andrzej97_2-1748002523468.png

BTW. I did try to create Generic Secret via Postman as well and the same error appears.
Any ideas? 
Kind regards

Accepted Solutions (0)

Answers (1)

Answers (1)

lconstantino
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi 

my suggestion:

plz create a service key in BTP cockpit to your S3 Object Store instance, then fill the values in based 64 encoded.

{"access_key_id": "base64encoded",
"bucket": "base64encoded",
"host": "base64encoded", 
"region": "base64encoded", 
"secret_access_key": "base64encoded", 
"uri":"base64encoded",
"username":"base64encoded"}

  Regards