Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
I'm getting this error when I try to run some python code:
PermissionError: [Errno 13] Permission denied: 'FILEPATH/FILE.csv'
ErrorCode=-2147467259
ExceptionType=Microsoft.PowerBI.Scripting.Python.Exceptions.PythonScriptRuntimeExceptionI know I have access to this file because I pulled it in a previous query, and a later query, successfully.
Also, everytime I'm prompted for permissions, I accept.
Thanks in advance!
HI @Anonymous ,
>>I know I have access to this file because I pulled it in a previous query, and a later query, successfully.
I think the permission is means execute python script permission. It will display permission alert every time you changed on the python script. (permission is matched with specific python code, you need to confirm operation permissions for executing new code)
Regards,
Xiaoxin Sheng
Hi @Anonymous ,
Thanks for the tip! However, I know that I always accept the script when it asks for permission.
I'll run the script once, it'll ask for permission, and I will give it. This works fine.
Then, I'll try to re-run all my queries. This time, it gives me this error. I did not change anything in the script.
This is why I'm confused.
HI @Anonymous ,
Any specific operations in your formula? Can you please share more detail information about these?
How to Get Your Question Answered Quickly
BTW, current power bi does not support dynamic python code based on query parameters. (it will display permission notice every time your parameter changes)
Regards,
Xiaoxin Sheng
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 57 | |
| 37 | |
| 34 | |
| 19 | |
| 17 |
| User | Count |
|---|---|
| 74 | |
| 70 | |
| 37 | |
| 35 | |
| 25 |