Integrate Azure Ai service with communication service

Jacqulin 0 Reputation points
2025-01-08T09:51:45.56+00:00

I'm not sure whether the communication service and Azure AI services is connected or not . Document that i followed for this issue
https://learn.microsoft.com/en-us/azure/communication-services/concepts/call-automation/azure-communication-services-azure-cognitive-services-integration
this is blocking me to use ssmlsource in communication service playsource.

code error:
{'code': 400, 'subCode': 8565, 'message': 'Action failed due to a bad request to Cognitive Services. Please check your input parameters.'},User's imageUser's image

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
961 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,043 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2025-01-08T09:51:45.59+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    To integrate Azure AI services with Azure Communication Services, you need to ensure that you are using the correct parameters and that your services are properly configured. The error message you are encountering, which states "Action failed due to a bad request to Cognitive Services," indicates that there might be an issue with the input parameters you are providing for the SSML source in your play source.

    Make sure that:

    1. Your SSML text does not exceed the maximum character limit of 400 characters for Text-to-Speech prompts. If it does, consider using SSML for Text-to-Speech based play actions.
    2. You are using a Multi-service Cognitive Service resource, as this integration only supports that type of resource.
    3. You are operating within a supported region for Azure AI services.

    If you have verified these points and are still facing issues, you may want to check the input parameters you are sending to ensure they conform to the expected format.


    References:

    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.