Action failed due to a bad request to Cognitive Services. Please check your input parameters

2025-05-26T15:05:36.38+00:00

Hi,

I'm facing issue while connecting to Cognitive service through Azure Communication service (ACS). Can you please guide me? below issue I'm getting when i try to run CallAutomation_OutboundCalling sample provided by Microsoft.

Action failed due to a bad request to Cognitive Services. Please check your input parameters.

Subcode: 8565

I'm using ACS connection string to connect.

Note: "Cognitive Services User" is assigned to the ACS resource.

Azure Session ID: 9f91a0c35514485e8a64017af9401b4f

My Speech Services endpoint
User's image

var cognitiveServiceEndpoint = "https://eastus2.api.cognitive.microsoft.com/";

Once call connected
User's image

Any one please help me on this?

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
1,210 questions
{count} votes

Accepted answer
  1. Laxman Reddy Revuri 5,055 Reputation points Microsoft External Staff Moderator
    2025-06-09T07:00:21.1433333+00:00

    Hi Venkata Satya Suneel Kumar Sikhakollu,
    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!

    Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue:

    Action failed due to a bad request to Cognitive Services. Please check your input parameters

    Solution:
    The problem is not with Azure Speech service integration. We have to create Azure AI Mutli account to link cognitive services to resolve this issue. Once I created Azure AI Multi account and link to ACS Cognitive services its resolved and working now. Thank you.

    Below are the links which helps me to create

    https://portal.azure.com/#create/Microsoft.CognitiveServicesAllInOne

    Note: This service should create in same region.

    Please click Accept Answer and kindly upvote it so that other people who faces similar issue may get benefitted from it.

    2 people found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Alekhya Vaddepally 1,670 Reputation points Microsoft External Staff Moderator
    2025-05-30T20:43:06.79+00:00

    Hi Venkata Satya Suneel Kumar Sikhakollu,
    please refer below link and verify role has been assigned and follow the screenshots provided in the link
    https://learn.microsoft.com/en-us/azure/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration#option-1-add-role-from-azure-cognitive-services-in-the-azure-portal
    if you have any further concerns or queries, please feel free to reach out to us.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.