cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eddydm Helper III
Helper III

FailedToRefreshPackageAfterImportError

Hi,

 

I'm working at a desktop pbix-file, refreshed the data and want to publish it to my workspace (as usual)

Today i'm getting for the first time an error while attempting to publish. Publishing failed for an unknown reason. (FailedToRefreshPackageAfterImportError)

 

The filesize isn't the problem because I'v got no problem with even a larger file.

 

Anyone an idea how to solve this?

 

Kind regards

 

 

Eddy

 

7 REPLIES 7
Moderator v-yuezhe-msft
Moderator

Re: FailedToRefreshPackageAfterImportError

Hi @eddydm,
 
What changes do you make in this PBIX file before you publish it to Service? Does your report exist in Power BI Service before and  you want to replace it? If that is the case, could you please rename  your PBIX file and check if you can successfully publish it?

Also we will appreciate it if you can provide me the sample PBIX file, I will test it in my Desktop.


Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
eddydm Helper III
Helper III

Re: FailedToRefreshPackageAfterImportError

@v-yuezhe-msft, thanks for your reply.

This morning I tried again ... and same problem.

I didn't change anything in the report, only update the data inside (from a sql source).

The report exist already some months on the power bi service (and i had updated and published it already many times).

 

After renaming the dataset and the report, i could publish the report again.

 

Problem was that some items in the report were pinned to different dashboards. I had to re-pin it.

 

Not a nice solution, but at this moment problem seems to be solved.

I'll try to update and publish again in the next days.

 

Keep you informed!

 

Eddy

 

Moderator v-yuezhe-msft
Moderator

Re: FailedToRefreshPackageAfterImportError

Hi @eddydm,

I have ever got the same issue in the following scenario: I apply Row Level Security(RLS) on my dataset, and publish the PBIX file to Service, and pin visuals to a dashboard. Then if I republish the PBIX file to Service, the error occurs. However, once I delete the visuals from dashboard, I can successfully republish the PBIX file. If you get the above error message in other PBIX files, please check if you encounter the same scenario as mine.

Thanks,
Lydia Zhang

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
suedeyloh
New Member

Re: FailedToRefreshPackageAfterImportError

For the last 2-3 days I've been failing to publish data to my workspace, getting this FailedToRefreshPackageAfterImportError.  My PBIX file is saved on a network share but had been working fine for me before the error.  Between my last successful publish and my first failure, I think all I did was refresh my source data.  What can I do to debug the problem?

 

 

Thanks,

 

Sue

suedeyloh
New Member

Re: FailedToRefreshPackageAfterImportError

Update: I've worked around my issue by un-pinning all visuals from my dashboard.  Then I was able to publish the data and re-pin the visuals.

eddydm Helper III
Helper III

Re: FailedToRefreshPackageAfterImportError

I'v done the day after publishing this problem a delete of my dashboard, update the report and recreate the dashboard. For me it was a solution that didn't take much time because the only tile on the dashboard was a box which guided me to the full report.

 

So for an easy dashboard we got a workaround, but not a solution.

 

Kind regards

 

 

Eddy

 

v-chhohn
New Member

Re: FailedToRefreshPackageAfterImportError

I am getting this error for the first time today when trying to re-publish a dataset that I have to re-publish every day (the queries don't work with auto-refresh so I have to manually refresh every morning and re-publish).

 

I was able to work around the issue this morning by renaming the dataset, publishish the newly-named dataset, and replacing the pinned live tiles on my dashboards, however that is a slow work around so I'm hoping there is a better solution if I encounter this again.

Helpful resources

Announcements
New Ranks Launched March 24th!

New Ranks Launched March 24th!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power BI Community!

‘Better Together’ Contest Finalists Announced!

‘Better Together’ Contest Finalists Announced!

Congrats to the finalists of our ‘Better Together’-themed T-shirt design contest! Click for the top entries.

Arun 'Triple A' Event Video, Q&A, and Slides

Arun 'Triple A' Event Video, Q&A, and Slides

Missed the Arun 'Triple A' event or want to revisit it? We've got you covered! Check out the video, Q&A, and slides now.

Join THE global Microsoft Power Platform event series.

Join THE global Power Platform event series.

Attend for two days of expert-led learning and innovation on topics like AI and Analytics, powered by Dynamic Communities.

Community Summit North America

Community Summit North America

Innovate, Collaborate, Grow. The top training and networking event across the globe for Microsoft Business Applications