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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
sameer260
Frequent Visitor

Loading data issue of GitHub API data

Hi,

 

I have a requirement of getting dynamic API url data from GitHub to Power BI. The requirement is getting all the tfsec job failures in all the repos(nearly 1000 repos) and visualzing the count to end user. By using invoke function in Power query I am getting them loaded to Power query but I am unable to get the same data to Power BI desktop (and also it is loading forever). Kindly advise if there is better way of plling GitHub API data into Power BI desktop.

sameer260_0-1689101334978.png

Facing the above issue while loading.

 

We were able to pull the data of repos, but we are trying to pull Jobs corresponding to the different Run_ids of Repos as shown below. We needed to check and filter considerably more amount of jobs for this. Kindly advise.

https://api.github.com/repos/{owner_name}/{repo_name}/actions/runs/{Run_ids}/jobs

We hit the error when we try to pull a good amount of rows, but it doesn't happen when we pull just a few rows

2 REPLIES 2
sameer260
Frequent Visitor

We were able to pull the data of repos, but we are trying to pull Jobs corresponding to the different Run_ids of Repos as shown below. We needed to check and filter considerably more amount of jobs for this. Kindly advise.

https://api.github.com/repos/{owner_name}/{repo_name}/actions/runs/{Run_ids}/jobs

We hit the error when we try to pull a good amount of rows, but it doesn't happen when we pull just a few rows

Anonymous
Not applicable

Hi  @sameer260 ,

According to your description, it seems that you're facing an issue when connecting to the GitHub API in Power BI Desktop. The error you're encountering is related to the "Microsoft.Mashup.Engine.Interface.ResourceForbidden" exception. This error might be caused by issues with the credentials used to authenticate or the data source itself rejecting the request coming from Power BI Desktop. To resolve this issue, you can try the following steps:

  1. Clear the credentials for the data source from Power BI Desktop and try connecting again.
  2. If the issue persists, you might need to check the GitHub API access settings and ensure that your credentials have the necessary permissions to access the data.

In addition, you can follow the steps below to load data from the GitHub API in Power BI Desktop:

  1. Open Power BI Desktop and click on Get Data from the ribbon on the Home tab
  2. Select Web from the list of data sources.
  3. In the From Web window, enter the GitHub API URL you want to connect to (e.g.,https://api.github.com/users/{username}/repos).
  4. Click OK to connect to the GitHub API
  5. Power BI Desktop will load the data from the API, and you can use the Navigator to select the tables or entities you want to import.

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.