Bing speech Text to speech is not working

Hari Krishna, Gudditi 0 Reputation points
2024-11-12T07:52:12.8+00:00

Azure bing speech from text to speech is not working.

Error 404 Failed to load resoursce : The server responded with a status of 400: https://speech.platform.bing.com/synthesize

The above error occured

Bing | Bing Search APIs | Bing Web Search API
Azure Speech in Foundry Tools
Bing | Bing Search APIs | Bing Custom Search API

1 answer

Sort by: Most helpful
  1. Christos Panagiotidis 3,551 Reputation points
    2026-07-20T08:41:03.9+00:00

    The requests go to the Bing Speech host shown in the error, not a supported Azure Speech REST endpoint for an Azure resource. A 400 from its synthesis path, or a service-unavailable page from its consumer voices path, does not establish an Azure Speech resource outage.

    Create or select a Speech resource, note its region, and replace the Bing host with the matching regional text-to-speech endpoint. Use /cognitiveservices/v1 for synthesis and /cognitiveservices/voices/list for voice discovery. Send the resource key in Ocp-Apim-Subscription-Key, or use a bearer token scoped to the same endpoint. Synthesis requires Content-Type: application/ssml+xml, X-Microsoft-OutputFormat, User-Agent, and valid SSML.

    Test voice discovery first, then submit minimal SSML. A 401 indicates invalid authorization, often a key, token, endpoint, or region mismatch; for a 400, recheck required parameters, headers, and SSML. If the application hard-codes the Bing consumer host, update the integration; Azure configuration cannot redirect requests sent elsewhere.

    Was this answer helpful?

    0 comments No comments

Your answer

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