The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I am experiencing an issue while publishing libraries in my Spark environment. I have created a Spark environment and attempted to install and publish a library. However, when I try to save and publish, I encounter the following error:Failed to save environment : PbiApiError: Failed to save environment Failed to save settings: Failed to fetch [ParentActivityId:001f9457-9623-4549-b386-e6c3546124e0] Failed to save library
Solved! Go to Solution.
Hi @venkatganesh_96,
Thank you for reaching out to the Microsoft fabric community! I appreciate the valuable insights shared by @nilendraFabric.
To add to his response, the PbiApiError when publishing libraries in the Spark environment can often be linked to:
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
Hi @venkatganesh_96,
Thanks for trying the suggested steps and getting back to us! Since switching to Spark Runtime 1.2 didn’t resolve the issue, let’s try a few additional troubleshooting steps:
Additionally, could you share the full error log from the "View log" section? That will help us diagnose the issue more precisely.
I trust this information proves useful. If it does, kindly Accept it as a solution and give it a 'Kudos' to help others locate it easily.
Thank you.
Hi @venkatganesh_96,
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please accept it as a solution and give a 'Kudos' so other members can easily find it.
Hi @venkatganesh_96,
May I ask if you have resolved this issue? If so, please mark the helpful reply and accept it as the solution. This will be helpful for other community members who have similar problems to solve it faster.
Thank you.
i tried to change the spark to 1.2 and if i click save same pdiapierror i am getting
Hi @venkatganesh_96,
Thanks for trying the suggested steps and getting back to us! Since switching to Spark Runtime 1.2 didn’t resolve the issue, let’s try a few additional troubleshooting steps:
Additionally, could you share the full error log from the "View log" section? That will help us diagnose the issue more precisely.
I trust this information proves useful. If it does, kindly Accept it as a solution and give it a 'Kudos' to help others locate it easily.
Thank you.
Hi @venkatganesh_96,
I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, please Accept it as a solution and give it a 'Kudos' so others can find it easily.
Thank you.
Hi @venkatganesh_96,
Thank you for reaching out to the Microsoft fabric community! I appreciate the valuable insights shared by @nilendraFabric.
To add to his response, the PbiApiError when publishing libraries in the Spark environment can often be linked to:
If this helps, then please Accept it as a solution and dropping a "Kudos" so other members can find it more easily.
Thank you.
Hello @venkatganesh_96
I have faced the similar issue link attached
If the libraries or configurations in the environment are incompatible with the selected Spark runtime version, publishing will fail. For example, older versions of libraries like `great-expectations` have been reported to cause publishing errors unless pre-release versions are used
Known issues with specific runtime versions (e.g., Fabric Runtime 1.3) can cause library installation or publishing failures due to backend updates or versioning conflicts
Review error logs for more details on the failure by clicking “View log” and “View details” in the publishing interface. This can help identify specific issues with dependencies or configurations
if this helps please accept the solution and give kudos
Unable to upload R library(Tar.gz format) in Fabric Environment