Forum Discussion

bhavinshah's avatar
bhavinshah
Frequent Visitor
2 years ago
Solved

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.

 

 

  • Thanks for the reply Anonymous 

     

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

2 Replies

  • bhavinshah's avatar
    bhavinshah
    Frequent Visitor

    Thanks for the reply Anonymous 

     

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

  • Anonymous's avatar
    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.