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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bhavinshah
Frequent Visitor

My WebAPI Not Working After I publish the Report in Power Bi Services

Hi,

 

My report calls a web API and authenticates using odata with the bearer.

 

In the powerbi desktop it works and the data is returned, but when it publishes in powerbi on the web I get the error.

 

Here is part of the code that works on PBI desktop.

 

bhavinshah_0-1710834990293.png

 

1 ACCEPTED SOLUTION
bhavinshah
Frequent Visitor

Thanks for the reply @Anonymous 

 

I have resolved the issue and things are deployed on the client's workspace. 

View solution in original post

2 REPLIES 2
bhavinshah
Frequent Visitor

Thanks for the reply @Anonymous 

 

I have resolved the issue and things are deployed on the client's workspace. 

Anonymous
Not applicable

Hi @bhavinshah ,

 

After publishing your report to the Power BI service, you may need to refresh your data source credentials. This can be done by navigating to the dataset settings in the Power BI service and updating the credentials for your data source. 

If you're receiving a specific error message when attempting to access the WebAPI from the Power BI service, could you please share the exact error message? 

 

Best Regards,

Neeko Tang

If this post  helps, then please consider Accept it as the solution  to help the other members find it more quickly. 

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors