Failed to run Speech service APIs locally.

sam 201 Reputation points

Hi Team, I am trying to run Speech service APIs locally. below is my command.

docker run --rm -it -p 5003:5003 --memory 1g --cpus 1 Eula=accept Billing=https://********** ApiKey=0******2

After running am getting below error

Container is not in a valid state. Subscription validation failed with status 'Invalid'. Api Key is invalid. You must provide an valid API key to run the container. Find your API key and service region under Keys and Endpoint at your Azure Cognitive Services resource blade in the Azure Portal. For more information please visit

Note: I am passing correct ApiKey and Endpoint url and my cognitive service is in westeurope region.


Azure Speech
Azure Speech
An Azure service that integrates speech processing into apps and services.
816 questions
Azure Container Instances
Azure Container Instances
An Azure service that provides customers with a serverless container experience.
477 questions
Azure Language Understanding (LUIS)
Azure Language Understanding (LUIS)
A feature of Azure Cognitive Service for Language that uses natural language understanding to enable people to interact with apps, bots, and internet of things devices.
100 questions
No comments
{count} votes

Accepted answer
  1. sam 201 Reputation points


    Somehow I am able to run the Speech service APIs locally without filling above form.
    earlier I was facing above issue because I have not given http_proxy to bypass org. level network policy.

1 additional answer

Sort by: Most helpful
  1. romungi-MSFT 29,711 Reputation points Microsoft Employee

    @sanyamkulshrestha-7576 Is your gating request approved to use the speech container with a valid resource?
    If not, you need to answer the questionnaire in this form and submit the request before creating a speech resource in the subscription mentioned in the form.