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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.