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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
Abi224
Frequent Visitor

data source issue in service

Hi,

I am using rest api web link as data source .it is working fine in desktop version but i am facing refresh issue in power bi service.

i am using anonymous login and public privacy level.

Kindly help ASAP.

 

Regards

Abinash

4 REPLIES 4
ibarrau
Super User
Super User

Hi Abi. Can you share more info about the issue? like the error message or if there is any kind of validation for the API or if it's a public API that doesn't need a key.

That might help us help you,


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

Happy to help!

LaDataWeb Blog

Hi ibarrau, Thanks for your response.

I'm using a rest api link, to get the data from the link i need to pass authorization token and time stamp(the token and timestamp valid  only for 5 minute).

i'm able to pull the data in powerbi desktop and also able to refresh the report but in powerbi services i'm getting

Data source error the credentials provided for the web source are invalid.

even after providing the necessary credentials.

 

 

 

There is something that doesn't match. Let's recap.

You have a connection to a RestAPI with Power Bi Desktop that has an authentication inside the code because you are saying you are specifing Anonymous Credentials for the source permission.

Then you are talking about Power Bi Service with an error message of data source credentials and specifing that you are providing those like using a different  source permission rather than Anonymous like with desktop.

Be sure that you are doing the exact same thing with both of them. The error message is clear, the credentials provided can't connect the source.

I hope that helps,


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

Happy to help!

LaDataWeb Blog

I am using anonymous login and public privacy level in PowerBi Desktop and also same thing in PowerBi service, But in service its not working.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

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.