cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
FernSant
Helper I
Helper I

Power BI Server Jan 2021 Scheduled Job Fails: The given data source kind is not supported. Data sour

There is an issue I come accross by Scheduling  a report with API Jason Content with Parameters.

PS:  in this case I have function to retrieve TOKEN wich change constantly.

Now Scheduled taks in Power BI Server Fails:

[0] -1056505856: COM error: Microsoft.PowerBI.ReportServer.ASEngineManagedRoot, The given data source kind is not supported. Data source kind: UnknownCallsite..

8 REPLIES 8
V-pazhen-msft
Community Support
Community Support

@FernSant 

 

I found a blog that use  Relative path method may work with your issue.

 

Chris Webb's BI Blog: Using The RelativePath And Query Options With Web.Contents() In Power Query An...

 

Paul Zheng _ Community Support Team
If this post helps, please Accept it as the solution to help the other members find it more quickly.

FernSant
Helper I
Helper I

Working in previous version  ?

 

1. Using Assigner Public API and in PBIRS Authentication as Anonymous
- In Version PBIRS May and October 2020 and January 2021, Scheduler Refresh always has been working.

2. Using Assigner Public API(parameter within Json.Document(Web.Contents URL) and in PBIRS Authentication as Anonymous Scheduler Fails
- In Version PBIRS May 2020 I was able to deploy to PBRS but not able to create Scheduler Refresh
- In Version PBIRS October 2020 I was Not able to deploy to PBRS
- In Version PBIRS January 2021, I was able to deploy to PBRS and able to create Scheduler Refresh but Scheduler fails

Petebro
Microsoft
Microsoft

One quick follow up question. Did this exact scenario work in the past for you? I had assumed it did but I wanted to make sure that is the case.

Hi Peter,

1. Using Assigner Public API and in PBIRS Authentication as Anonymous
  - In Version PBIRS May and October 2020 and January 2021, Scheduler Refresh always has been working.

2. Using Assigner Public API(parameter within Json.Document(Web.Contents URL) and in PBIRS Authentication as Anonymous Scheduler Fails
  - In Version PBIRS May 2020 I was able to deploy to PBRS but not able to create Scheduler Refresh
  - In Version PBIRS October 2020 I was Not able to deploy to PBRS
  - In Version PBIRS January 2021, I was able to deploy to PBRS and able to create Scheduler Refresh but Scheduler fails

FernSant
Helper I
Helper I

Hi Pete,

I am using Assigar API, I will work fine winth Anonymous Authentication Type in PBI RS Datasource.

However when I use parameter within son.Document(Web.Contents URL I got the error: "given data source kind is not supported"


Source = Json.Document(Web.Contents("https://api.assignar.com.au/v2/timesheets?page_size="& size &"&page="& page &"&submitted_date__gte=" & fromdate, [Headers=[Authorization=GetTokenFunction(), ContentType="application\json"]]))

 

Petebro
Microsoft
Microsoft

Can you tell me which API you are calling and what the response used to give you back?

Was this ever addressed? This has been working for me for years and suddenly stopped. As soon as I touch any of working reports with new version of Power BI desktop (May 2021) and save them, they stop working. January 2021 version worked until I enabled meta data preview feature, and then outcome was the same as above. I am more of a consumer of the data, rather than programmer, hence I have a limited understanding of type of API I am using, however, it also starts with "let
Source = (size as text, page as text, fromdate as text) as table =>
let
Source = Json.Document(Web.Contents("https://"

Very frustrating. Anything we can do to fix that? I am afraid I will not be able to use anonymous. Your help is appreciated.

I am using Assigar API, I will work fine winth Anonymous Authentication Type in PBI RS Datasource.

However when I use parameter within son.Document(Web.Contents URL I got the error: "given data source kind is not supported"

 

let
Source = (size as text, page as text, fromdate as text) as table =>
let
Source = Json.Document(Web.Contents("https://api.assignar.com.au/v2/timesheets?page_size="& size &"&page="& page &"&submitted_date__gte=" & fromdate, [Headers=[Authorization=GetTokenFunction(), ContentType="application\json"]]))

 

Helpful resources

Announcements
August 1 episode 9_no_dates 768x460.jpg

The Power BI Community Show

Watch the playback when Priya Sathy and Charles Webb discuss Datamarts! Kelly also shares Power BI Community updates.

Power BI Dev Camp Session 24 without aka link and time 768x460.jpg

Ted's Dev Camp - July 28, 2022

Watch Session 24 of Ted's Dev Camp along with past sessions!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Top Kudoed Authors