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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
Anonymous
Not applicable

Python Script ErrorCode=-2147467259 While I Want To Transform a Data From Restricted Google Sheet

DataSource.Error: ADO.NET: A problem occurred while processing your Python script. Here are the technical details: [DataFormat.Error] N_A Details: DataSourceKind=Python DataSourcePath=Python Message=A problem occurred while processing your Python script. Here are the technical details: [DataFormat.Error] N_A ErrorCode=-2147467259 ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonUnexpectedException

This happens while i want to cleaning the data from Power Query using Python Script that the data source was from G-Sheet. I already check the script using other G-Sheet files and it runs, but whenever i try using restricted (only viewer not editor)

befat_2-1694879143201.pngbefat_3-1694879165927.png

 

 G-Sheet it gets that error. But when i transform/clean the data without python script (only using power query)

befat_1-1694879018410.png

 

it runs perfectly. I really need to used Python Script for my project report is there any other way to done it with python script?

 

1 REPLY 1
lbendlin
Super User
Super User

Remove the N/A  fields from your Google Sheets source.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors