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
beast-nev
New Member

Unable to setup personal gateway for Python script

Hello I have been trying to make a report with a python script that fetches data from a GET request.

 

I setup PowerBI personal gateway but I am receiving this error when I go to schedule a refresh:

beastnev_0-1623954777468.png

I was reading over the docs and have seen people been able to do this but the option to even connect to the Gateway is not shown in the settings for me.

 

Does anyone know this fix to this or know an alternative to have data be refreshed by rerunning the Python script?

2 REPLIES 2
beast-nev
New Member

@v-luwang-msft thank you for your response.

I have gone through and configured the personal gateway on the machine, and I have checked the troubleshooting document for accepted data sources. 

 

To my understanding, Python scripts are available for scheduled refresh but when I go to click on the dataset to refresh it does not give me a gateway option anywhere. Do you know if this means the gateway is not setup properly ?

v-luwang-msft
Community Support
Community Support

Hi @beast-nev ,

You may implement schedule refresh via Personal Gateway for Python in Power BI Service. The additional steps are the following:

 

  • Install the Personal Gateway - you need a Personal Gateway installed on the machine where the file is located, and where Python is installed, see more:install and configure gateway.

 

  • Enable scheduled refresh for the dataset – Need to enable scheduled refresh for the dataset with Python scripts, see :configure the schedule refresh.

 

You may resolve the issue via the troubleshooting link :https://docs.microsoft.com/en-us/power-bi/refresh-troubleshooting-refresh-scenarios .

 

Wish it is helpful for you!

 

Best Regards

Lucien

 

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.