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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.