Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Bohumil_Uhrin
Helper II
Helper II

Azure Cognitive services - "We couldn't authenticate with the credentials provided" error

Hi Power BI community!

Im trying to use Azure Cognitive services - Translator.

I created a resource in Azure:

 
 

azure.PNG

 

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:

 

azure2.PNG

 

Could someone help me?

Thank you 🙂

 

 

2 REPLIES 2
dorachen
New Member

Hi. I ran into the same error. Did you find a solution?

v-alq-msft
Community Support
Community Support

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.

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors