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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
Ade1991
Helper I
Helper I

Expression.Error : Access Fobidden for API Cognitive Service

Hi,

 

I'm using PowerQuery to use the following process

https://docs.microsoft.com/fr-fr/azure/cognitive-services/text-analytics/tutorials/tutorial-power-bi...

 

My target is to analyze my values with cognitive service.

 

Everything was working well, and I have now the following message : "Expression.Error : Access Forbidden" when I'm requesting the API.

 

I don't know what happen. Any advice ?

1 ACCEPTED SOLUTION

I finally found where the problem came from : the switch between my free account and the new one was not effective.

 

It's ok now.

 

Thanks very much !

View solution in original post

5 REPLIES 5
Nolock
Resident Rockstar
Resident Rockstar

Hi @Ade1991,

have you checked your API key if it is still valid?

Yes, in fact I finished my 5000 free first use, but i'm currently using my credit (I subscribe to the service).

 

I think it's linked to this fact, but no idea how to solve it

Nolock
Resident Rockstar
Resident Rockstar

Hi @Ade1991,

I'd recommend to connect to Azure Cognitive Services via Postman or CURL just to be sure that the current key is correct. And I also hope you'll see more in the HTTP response.

I finally found where the problem came from : the switch between my free account and the new one was not effective.

 

It's ok now.

 

Thanks very much !

Nolock
Resident Rockstar
Resident Rockstar

Hi @Ade1991,

glad to hear that 🙂

If it is ok for you, please mark additionaly also my last post as answer.

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Top Solution Authors