Skip to content

I am deploying the Azure "Vector-Search-AI-Assistant" github code Using Azure open AI service but facing multiple issues #51

@gayuPawar

Description

@gayuPawar

After github url I am following mentioned document in the github which we are deploying using azure container apps . I have faced the issues mentioned below.

githubissue

1.This is the first Issue I got and I tried to resolve this by replacing the / into - but getting multiple new issues
ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription:

Deployment Error Details:
InvalidTemplateDeployment: The template deployment 'ChatServiceWebApi' is not valid according to the validation procedure. The tracking id is '8446901e-49ad-4ef5-aaac-b271e76d1dbe'. See inner errors for details.
ValidationForResourceFailed: Validation failed for a resource. Check 'Error.Details[0]' for more information.
ContainerAppInvalidSecretName: Secret name has an invalid value 'kv-ycutmbn4mmj2c/openai-apikey'. A value must consist of lower case alphanumeric characters, '-', and must start and end with an alphanumeric character. The length must not be more than 253 characters.

TraceID: 5102be5ff0e98bc8c5f1a345e548c48c

2.The issue comes after resolving the first issue

ERROR: error executing step command 'provision': deployment failed: error deploying infrastructure: deploying to subscription: Deployment Error Details: InvalidTemplate: Deployment template validation failed: 'The template resource 'kv-73sevvsljywq4-openai-apikey' for type 'Microsoft.KeyVault/vaults/secrets' at line '1' and column '776' has incorrect segment lengths. A nested resource type must have identical number of segments as its resource name. A root resource type must have segment length one greater than its resource name. Please see https://aka.ms/arm-syntax-resources for usage details.'.

We are stuck here so please provide me solution
Can you please help me out to resolve the template validation error by verifying the code once again

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions