Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi Power BI community!
Im trying to use Azure Cognitive services - Translator.
I created a resource in Azure:
Now Im trying to create a query, but getting this error: "We couldn't authenticate with the credentials provided. Please try again."
My code look like this:
= Json.Document(Web.Contents("https://api.cognitive.microsofttranslator.com", [RelativePath="translate", Query=[
#"api-version" = "3.0", to="en"], Headers=[#"Ocp-Apim-Subscription-Key"="xxxxx-xxxxx", #"Content-Type"="application/json"], Content=Json.FromValue({[Text = "texto para traducir"]})]))
Im using anonymous access:
Could someone help me?
Thank you 🙂
Hi. I ran into the same error. Did you find a solution?
Hi, @Bohumil_Uhrin
About Integrating Power BI with the Microsoft Azure Cognitive Services, you may refer to the following document to see if it helps.
Integrate Power BI with the Text Analytics Cognitive Service
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.