Help Needed: Microsoft Cognitive Services Speech to Text Transcription Failed

Keerthanaa Ilangovan 5 Reputation points
2024-04-03T10:57:53.3933333+00:00

Hi Everyone,

I'm encountering difficulties with a transcription job using the Microsoft Cognitive Services Speech to Text API by creating a flow in Logic app, and I'm reaching out to the community for assistance in resolving this issue. Any insights, suggestions, or troubleshooting steps are greatly appreciated. Here are the details:

Problem: The transcription job initially starts but eventually fails, transitioning from the "Running" status to "Failed". The error message received is as follows:

"error": {
            "code": "InvalidUri",
            "message": "Authentication failed for recordings URI."
        },

Details provided in the Body of the request / Parameter in the logic app action:

{

"contentUrls": [ "Share point URL" ],

"displayName": "Transcription",

"locale": "ar-SA",

"properties": {

"diarizationEnabled": false,

"displayFormWordLevelTimestampsEnabled": false,

"punctuationMode": "DictatedAndAutomatic",

"wordLevelTimestampsEnabled": false }

}

Steps Taken:

  • Verified the subscription key for the speech service.
  • Confirmed accessibility and validity of the recordings URI containing the audio files.
  • Verified the roles in the azure speech service for my user.
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,396 questions
{count} votes

1 answer

Sort by: Most helpful
  1. VasaviLankipalle-MSFT 14,261 Reputation points
    2024-04-12T20:51:54.18+00:00

    Hello @Keerthanaa Ilangovan ,

    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: The transcription job initially starts but eventually fails, transitioning from the "Running" status to "Failed". The error message received is as follows: "message": "Authentication failed for recordings URI."

    Solution:

    Using SharePoint for storing the audio file created this issue. However, when used Azure Blob (Storage account) and the issue got solved.

    With the trusted Azure services security mechanism, you need to use Azure Blob storage to store audio files. Usage of Azure Files is not supported.

    Thank you again for your time and patience throughout this issue.

    I hope this helps.

    Regards,

    Vasavi

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments