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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.