Skip to content

Failed to immediately create Bot Direct Line Speech after the cognitive account is created successfully #21243

Open
@neil-yechenwei

Description

@neil-yechenwei

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:

  1. Create resource group
  2. Create Bot Channel Registration
  3. Create Cognitive Account
  4. Immediately create Bot Direct Line Speech after the cognitive account is created successfully
  5. Until now, you will see API failed and threw above error message

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bot ServiceService AttentionWorkflow: This issue is responsible by Azure service team.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions