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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Imrans123
Advocate V
Advocate V

Power Query cannot load Web API during evaluation but refreshes

Hey guys, 

 

 

I started having quite a strange issue. I have an API call that returns a authentication key and then uses that request key to query data. I coded it in power query and has been working really well for the past 1 month.

 

Ever since today, when i open the dataflow in power Query, the table won't load as it says Credentials are required to connect to websource 

Imrans123_0-1660089113997.png

 

Imrans123_1-1660089170110.png

Imrans123_2-1660089863204.png

 

 

 

I tried going into dataflow settings to see which API call is giving the issue, and found the APi call that is trying to call the request key giving the issue. Below is the error message 

Imrans123_3-1660089962207.png

 

 

What's strange about this issue is when I refresh the dataflow, I can see from my API portal that it sucessfuly called the authentication API followed by querying all the data.  

 

I tried changing privacy settings, but that didn't solve it. In all cases I'm getting Error 400. 

 

 

1 REPLY 1
lbendlin
Super User
Super User

Are you saying that you are getting the key back despite the 400 ?  You can use ManualStatusHandling to override the default responses.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.