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

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.

Reply
Anonymous
Not applicable

Data Source Credential Error - Freshdesk API - Power BI Service

We have a PBI report that is connected to the Freshdesk API and uses Basic Authentication.  The report works great when refreshing locally from PBI desktop; however, we get an error when trying to set up the Data Source Credentials in the Power BI Service.

 

FreshdeskPBIRefresh.png

 

Here is a snippet from the PBI desktop file that is refreshing properly:

 

FreshdeskPBIRefresh_Desktop.png

 

The function that pulls from the API is using RelativePath and populating default parameters for the call.

 

FreshdeskPBIRefresh_M.png

 

Any help on resolving this error would be greatly appreciated!!!!

6 REPLIES 6
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

You may try to clear all permissions in "Data Source Settings" in Power Query Editor in Power BI Desktop app and then setting them again and publishing to the cloud refreshed requests done by Power BI Cloud.

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hey Lin,

 

Thanks for the suggestion.  Unfortunately when I clear the permissions I still the error below in PBI Service:

 

FreshdeskPBIRefresh_ClearPerms.png

nickyvv
Most Valuable Professional
Most Valuable Professional

Maybe you need to append the "/v2" to the data source instead of the RelativePath?


Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Anonymous
Not applicable

Hey @nickyvv ,

 

I've added the complete url back in and removed the RelativePath.  Here's what the M looks like now:

 

FreshdeskPBIRefresh_noRel.png

 

This here is the error I get now:

PBIerr.png

 

Here's an article from Chris Webb's blog on adding in RelativePath to get past the refresh issue.

 

https://blog.crossjoin.co.uk/2016/08/23/web-contents-m-functions-and-dataset-refresh-errors-in-power...

 

This seemed to get me past the Unsupported Function error but still had the authentication issue.

 

Any thoughts on this?

Hey @Anonymous ,

 

I know this is an old post but you can try the attached query. It worked for me when I was facing a similar issue, I hope it works for you too.

 

tsmaswabela_1-1637919083439.png

 

nickyvv
Most Valuable Professional
Most Valuable Professional

Hi @Anonymous,

Sorry, I actually meant only adding the v2 to the Web.Contents function, so this:
https://xxx.freshdesk.com/api/v2
And leave the rest in the RelativePath to deal with the authentication as Chris mentions in his blog.


Did I answer your question? Mark my post as a solution!

Blog: nickyvv.com | @NickyvV


Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.