-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Open
Labels
Cognitive - QnA MakerService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team
Description
Hey,
it seems as if for the above mentioned resource some properties are not specified as needed. If you want to create an account you need to specify an apiProperties sub-object within the properties but there's no documentation on that. Here it only says it has to be a not null object.
If you pass an empty object then you get this:
Error: Error creating Cognitive Services Account "qnamaker-stable" (Resource Group "qnamaker-stable"): cognitiveservices
.AccountsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returne
d an error. Status=400 Code="ApiPropertiesInvalid" Message="The given 'apiProperties' '{}' is invalid. Validation errors
: Required properties are missing from object: qnaRuntimeEndpoint. Path ''."
So currently it's not possible to create an account with the current state of documentation so the properties should be specified in detail.
devedse
Metadata
Metadata
Assignees
Labels
Cognitive - QnA MakerService AttentionWorkflow: This issue is responsible by Azure service team.Workflow: This issue is responsible by Azure service team.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamWorkflow: This issue needs attention from Azure service team or SDK team