Cannot connect to Azure Speech

@Support.Voice-Agent

I am getting the following error when trying to connect my Azure Speech: property orgId should not exist property createdAt should not exist property updatedAt should not exist

API Key is validated:

Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

Install the latest PowerShell for new features and improvements! https://aka.ms/PSWindows

PS C:\WINDOWS\system32> $FetchTokenHeader = @{
>> 'Content-type'='application/x-www-form-urlencoded'
>> 'Content-Length'= '0'
>> 'Ocp-Apim-Subscription-Key' = 'RiJz9gEOYLf4jGCwSouHiS8vClBRATE9Z0c1h0L5teoVaSoIlewrJQQJ99BKACYeBjFXJ3w3AAAYACOGMDu2'
>> }
>> $OAuthToken = Invoke-RestMethod -Method POST -Uri https://eastus.api.cognitive.microsoft.com/sts/v1.0/issueToken -Headers $FetchTokenHeader
>> $OAuthToken
>>
Valid key was returned.......................iJ1cm46bXMuY29nbml0aXZlc2VydmljZXMifQ.1SqctqZrdZqqS2dyw_NV4XOl3gltcUhTLg-218ygnmwZAPwjPVZQ67WFO220APZgnrkvL2e9D7vUbIG68y0rFA
PS C:\WINDOWS\system32>
image.png
How to install PowerShell on Windows
Was this page helpful?