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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors