Open
Description
After tested, we found API failed to immediately create Bot Direct Line Speech after the cognitive account is created successfully. But Bot Direct Line Speech can be created successfully at second apply with same request payload.
Per my understanding, though the cognitive account is created successfully and API returned, but seems the primary access key returned by the cognitive account isn't ready yet. Could you take a look this issue? Thanks in advance.
Error Message:
botservice.ChannelsClient#Create: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="InvalidChannelData" Message="ChannelConverter Exception: DirectLine Speech Channel failed to acquire Cognitive subscription id from tokenEndpoint."
Repro steps:
- Create resource group
- Create Bot Channel Registration
- Create Cognitive Account
- Immediately create Bot Direct Line Speech after the cognitive account is created successfully
- Until now, you will see API failed and threw above error message