Forum Discussion

BIAnalyst907's avatar
BIAnalyst907
New Member
3 years ago

PBI Service Refresh Error -A web API key credential is required when a web API key name is provided

I have been trying to set up a report to auto refresh, pulling data from a WebAPI data source. I'm getting the following error: 

 

"A web API key credential is required when a web API key name is provided.. The exception was raised by the IDataReader interface. Please review the error message and provider documentation for further information and corrective action." 

 

 

 

I've tried hardcoding the key into the query to no avail. 

 

 

Has anyone encountered this issue? Any known workarounds? 

 

 

Thanks

5 Replies

  • I'm facing the exactly same problem. Following here to see if there's a solution for that.

    • BIAnalyst907's avatar
      BIAnalyst907
      New Member

      Just an API key is being used for authentication.

       

      Refresh works in Power BI Desktop with no issues. We've tried configuring the report in a variety of ways that work perfectly on the desktop version then hits an issue when trying to set up the auto refresh.

       

       

       

       

      • Anonymous's avatar
        Anonymous
        Not applicable

        Hi BIAnalyst907 ,

         

        Have you gone through the details of what is mentioned in this error message and the relevant documentation provided?

        There may be a solution to this problem. You can also show me the details so that I can better understand your error.

         

        Best regards,

        Community Support Team Selina zhu

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