Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hello, I am getting the following error whenever i try to refresh a dataset or schedule a dataset refresh in PBI Service:
"Your data source can't be refreshed because the credentials are invalid. Please update your credentials and try again."
In PBI Desktop it works correctly, I am acessing a Restful Api with a bearer token validation. The login resquest is sent to url/Login with 4 params in the header and then i recieve the token which i pass to 2 other api calls. In Power Bi Service I get the error mention above and whenever i click the prompt to edit the credentials I can only input an user and password and not the header values needed to authorize me into the api. Is there an workaround for this? I need to schedule refreshes for this dataset in PBI Service.
hi, @Anonymous
If the gateway set up well, and is there any other data source in the report which requires gateway?
Best Regards,
Lin
I am not using any gateway. I make 3 calls to the Restful Api and 1 to a news feed. The news feed works fine because doesn't need authentication but the Rest Api doesn't work because I cannot send the header data for the authentication in PBI Service.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.