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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register 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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors