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, @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.
Check out new user group experience and if you are a leader please create your group
100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.
User | Count |
---|---|
32 | |
28 | |
26 | |
11 | |
9 |
User | Count |
---|---|
61 | |
49 | |
36 | |
18 | |
15 |