Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,300,917
Community Members
 
Community Events
165
Community Groups

Confluence failed to generate file preview after editing with Companion app

Edited

Here is the deal:

  1. I upload the word file to confluence page - preview works fine
  2. I edit the file with the help of a Atlassian Companion app - it saves/uploads the file without a problem
  3. The problem emerges after I save/upload the file and go back to page view. Confluence cannot generate preview no more for the file that has been edited. It shows the error message "Something went wrong. We couldn't generate a preview for this file." Disclaimer: if I edit another file on the page, the previous edited file goes back to normal, no problam previewing it.
  4. If I open the page's attachements I can view the files without any problems.

Below I have attached two pictures - one shows what I see after I save the file, the other shows the error message after I press on the file.

 

Software: Windows 10, Chrome Version 95, Confluence Cloud

Failed to generate preview 1.pngFailed to generate preview 2.png

2 answers

1 accepted

0 votes
Answer accepted
Shannon S Atlassian Team Nov 16, 2021

Hi Ignas,

Welcome to the Atlassian community, and thank you for reporting this to us. I understand after you edit a Confluence page attachment in the Companion App, the preview breaks. 

Can you confirm if this page is on the legacy editor or the new editor? You can check Convert pages to the new editor to learn the difference visually.

Secondly, does it happen with any document type or only specific ones?

I hope to hear from you soon!

Take care,

Shannon

Hi Shannon,

I see the same behaivor with an Excel-sheet.

And it seems that I'm using the new editor.

Cheers, Stefan

Like Shannon S likes this
Shannon S Atlassian Team Nov 30, 2021

Hi Stefan,

Thank you for confirming you're having the same issue too. I'm so sorry about the trouble this is causing you. 

We will want to see the Excel document and the page to see why this might be happening. Can you raise a support ticket and attach the document as an example?

If you have any trouble creating a ticket, please let me know, and I can help you out.

Shannon | Atlassian Community Support

@Shannon S sorry for late answer. The problem is with both excel and word documents; I did not test the other document types. I attach the picture below, where from left to right: edited excel file, unedited docx file, edited docx file. When pressed it fails to generate preview.

 

Also, I am confirming that the page itself is edited in new editor, not legacy.

test.png

Shannon S Atlassian Team Dec 15, 2021

Hi Ignas,

Thank you for confirming. We'd like to take a look at this, so can you have your site admin raise a ticket at support.atlassian.com? Please let me know if you have any trouble with that.

Thanks for your help.

Take care,

Shannon | Atlassian Community Support

Like Ignas Selvestravicius likes this

Shannon,

 

Thank you for you answer. I found there is already a bug registered here https://jira.atlassian.com/browse/CONFCLOUD-72339 and registered on my side as well with the link in already registered issue.

 

Have a great day!

Like Shannon S likes this
Shannon S Atlassian Team Dec 16, 2021

Hello Ignas,

Thank you for sharing the bug and confirming it's the same behavior you're experiencing. I'll include a link to this Community post in the internal notes for the developers.

Take care, and I hope you have a pleasant rest of your week.

Shannon

Like Ignas Selvestravicius likes this
Tony I'm New Here Mar 02, 2022

Having the same "We couldn't generate a preview for this file." with office documents after updating them with companion.  Has anyone managed to resolve this?  Could be a deal breaker for us.

Shannon S Atlassian Team Mar 03, 2022

Hi @Tony

We reported this issue in the bug Ignas shared. Please follow the ticket CONFCLOUD-72339 for updates on its resolution. 

In the meantime, you can store the attachments on Google Drive. So, when you paste a Google Drive link into the page, you'll have an option to display embedded documents.

I hope that helps!

Take care,

Shannon | Atlassian Community Support

Like Ignas Selvestravicius likes this

For anyone who stumbles upon this page in the future, there is a bug already raised on this issue https://jira.atlassian.com/browse/CONFCLOUD-72339

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

An update on Confluence Cloud customer feedback – June 2022

Hi everyone, We’re always looking at how to improve Confluence and customer feedback plays an important role in making sure we're investing in the areas that will bring the most value to the most c...

400 views 2 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you