microsoft / azurechat

🤖 💼 Azure Chat Solution Accelerator powered by Azure Open AI Service
MIT License
1.24k stars 1.21k forks source link

Deployment Error by CustomDeployment from Template to Azure #34

Closed RobertHoegner closed 1 year ago

RobertHoegner commented 1 year ago

I am unfortunately getting the following error when using the one-click deployment to azure:

{"code":"DeploymentFailed","target":"/subscriptions/XXX/resourceGroups/XXXX/providers/Microsoft.Resources/deployments/resources-5stymuvr2bba2","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.","details":[{"code":"BadRequest","target":"/subscriptions/XXX/resourceGroups/XXX/providers/Microsoft.Resources/deployments/resources-5stymuvr2bba2","message":"{\r\n \"code\": \"BadRequest\",\r\n \"message\": \"The character 'F' at index 0 is not allowed in the DatabaseAccount name\r\nActivityId: 6a63308f-d2c3-49ea-a9df-fd1c369b7938, Microsoft.Azure.Documents.Common/2.14.0\"\r\n}"}]}

RobertHoegner commented 1 year ago

the errors is related to the cosmosdb but I cant see what caused it:

image
Xtrah commented 1 year ago
The character 'F' at index 0 is not allowed in the DatabaseAccount name

What deployment name are you using?

RobertHoegner commented 1 year ago

solved was caused by capital letter