Regarding Modification of Request Body Validation - Azure Batch Transcription REST API

Test Admin 176 Reputation points
2025-01-17T10:05:08.8666667+00:00

We have Azure subscription with the Standard Tier.

We are using Azure AI batch transcription for past 1 year.
Reference Link: https://learn.microsoft.com/en-us/azure/ai-services/speech-service/batch-transcription-create?pivots=rest-api

We are using REST API on Create a batch transcription in Java.

We have been successfully utilizing the batch transcription feature of Azure AI Speech for the past year. However, we are currently experiencing a new issue this week related to the Create a Batch Transcription functionality.

400 Bad Request: { "code": "InvalidPayload", "message": "$.createdDateTime: The supplied value is invalid." }

Could you please confirm if any modifications have been made to the Create a Batch Transcription REST API recently.

Additionally, we would appreciate guidance on where to find the modification log for this API, as it would help us understand any changes that might be affecting our implementation in future.

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,880 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Amira Bedhiafi 28,066 Reputation points
    2025-01-18T18:04:41.7033333+00:00

    There is an issuecwith the createdDateTime property in your request payload.

    According to the Azure Batch Transcription REST API documentation, the createdDateTime field is a read-only property that is automatically set by the service upon the creation of a transcription job. Therefore, it should not be included in the request body when creating a new batch transcription.

    Regarding recent modifications to the API, Microsoft has introduced version 2024-11-15 of the Speech to Text REST API, which includes several changes and improvements.

    Notably, the API has transitioned from a path-based versioning scheme to a query parameter-based scheme, aligning with general Azure API versioning practices.

    This change requires updating the base path from /speechtotext/v3.2 to /speechtotext and appending ?api-version=2024-11-15 to all requests. Certain properties have been removed or renamed to simplify processing. https://learn.microsoft.com/en-us/azure/ai-services/speech-service/migrate-2024-11-15

    https://learn.microsoft.com/en-us/azure/ai-services/speech-service/releasenotes


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.