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,974
Community Members
 
Community Events
165
Community Groups

Error while importing Word documents

Hi Team,

I have hundreds of use cases in Word files (.docx) uploaded as attachments to my organization's Confluence (server, 7.4.1) that I need to import as pages in our Confluence. Each one has a table with two columns and several rows spanning 3-4 pages or more containing some text content and in some places screenshots. The file sizes are in the region of 3 MB - 10 MB. When I use the 'Import Word Document' option, I get the following error:
"The uncompressed size of your file is too large to import. You'll need to reduce the file to 20MB or less."

Does anyone have a solution? Many thanks in advance for any help.

Thanks,

Sumit

1 answer

0 votes
Kishan Sharma Community Leader Nov 09, 2021

Hi @Sumit Sharma I think you might have been affected by this bug

You can try increasing below system property in setenv.sh file and see if that helps.
CATALINA_OPTS="-Dconfluence.word.import.maxsize=30"

Kishan Sharma Community Leader Mar 02, 2022

Hi @Sumit Sharma 

Just wanted to check if you were able to resolve this. I had a similar issue on one of my instance, I was able to work around it by saving the document as "Word 97 2003 Document" and import it, which was then successful.

Thanks, Kishan. I tried converting one of the documents to Word 97 - 2003 document as per your suggestion. It dramatically changed the file size from 3 MB to 65 MB and threw an error (413 Request Entity Too Large).

Kishan Sharma Community Leader Mar 03, 2022

Ah that's weird. I believe setting up the configuration in setenv.sh should be the way to go here.

I worked with my OPS team again today to ensure the property was set as required in the setenv.sh file. Still no luck.

Kishan Sharma Community Leader Mar 03, 2022

Hm ok, I would advise to raising a support ticket with Atlassian Support for further help on this. If you do and get a solution, please also post here it will help others facing similar issue.

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...

405 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