Showing results for 
Search instead for 
Did you mean: 
jmandavia Frequent Visitor
Frequent Visitor

Gateway Refresh Issues with Python



I'm having issues with Python and refreshing using an on presmise gateway. I am able to successfully connect to the SQL servers where the source data resided. I'm using Python to clean the data and I keep on receiving this message and i don't know how to resolve. Can someone please help?



Last refresh failed: Thu Sep 20 2018 22:05:22 GMT-0700 (Pacific Daylight Time) 
Invalid connection credentials.
Hide details

Underlying error code:-2147467259 Table: vwPMProjectAcctDetailsJAY.
Underlying error message:Credentials are required to connect to the Python source. (Source at Python.)
Activity ID:2cb5d80f-e9ef-4339-91a5-a73b0d555aa5
Request ID:3e66c64d-1a17-641f-1c4d-c997f8216216
Time:2018-09-21 05:05:22Z


Community Support Team
Community Support Team

Re: Gateway Refresh Issues with Python

Hi @jmandavia

Schedule refresh for Python Script Service is still under testing and not completely supported.

The team is enabling complete support for it in the coming months.


Please vote for these ideas.

Python Script in Power BI

Python on Scheduled Refresh


Best regards



metalbuckeye New Member
New Member

Re: Gateway Refresh Issues with Python

I am having the same issue...would have been nice to be informed that the service wasn't ready for Python integration.  I know it's in preview, but don't release something that isn't fully supported.


I am going to try and install Python on the same server as our gateway to see if this resolves the issue.

LauraV11 Visitor

Re: Gateway Refresh Issues with Python

Hey there,are there any updates on when python will be available on scheduled refresh?

Helpful resources

Can You Solve These Challenge

Challenge: Can You Solve These?

Find out how to participate in the first Power BI 'Can You Solve These?' challenge.

Community News & Announcements

Community News & Announcements

Get your latest community news and announcements.

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Users Online
Currently online: 110 members 1,104 guests
Please welcome our newest community members: