on 03-25-2024 7:59 AM
When creating a generic secret either with either web API or python SDK, I'm getting the following error:
'MY_GENERIC_SECRET' does not match '^[a-z0-9\\-\\.]+$' - 'name'
Status Code: 400, Request ID:None
It looks like it is doing the opposite check it should do for the name. From the documentation, the secret name is written without hyphens to make it simple to consume as a Unix environment variable later. It is written in capitals as is convention. (see https://help.sap.com/docs/sap-ai-core/sap-ai-core-service-guide/create-generic-secret?locale=en-US )
Even though the documentation mentions capitals, have you tried with a name that is only in lower case?
If that's also failing, another test to narrow this down, would be to create the secret through the UI. This blog has an example https://community.sap.com/t5/technology-blogs-by-sap/sap-ai-core-scheduling-sap-hana-machine-learnin...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
9 | |
9 | |
7 | |
7 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.