Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Failed to create a location and file for the PDF export. Edited

Cannot export PDF.
I guess confluence can't create a folder directory.

What can I do?


Caused by: com.atlassian.confluence.importexport.ImportExportException: Failed to create a location and file for the PDF export.
	at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(
	at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf(
	at com.atlassian.confluence.extra.flyingpdf.InternalPdfExporterService.doCreatePdfForPage(
	at com.atlassian.confluence.extra.flyingpdf.InternalPdfExporterService.createPdfForPage(
	at com.atlassian.confluence.extra.flyingpdf.DelegatingPdfExporterService.createPdfForPage(
	at com.atlassian.confluence.extra.flyingpdf.DiagnosticPdfExporterService.createPdfForPage(
	at com.atlassian.confluence.extra.flyingpdf.ExportPageAsPdfAction.doExecute(
	... 383 more

Caused by: Couldn't create export directory /confluence_home/temp/pdfexport-20210118-180121-1444-47 at com.atlassian.confluence.importexport.impl.ConfluenceTempDirExportFileNameGenerator.createExportDirectory( at com.atlassian.confluence.importexport.impl.ConfluenceTempDirExportFileNameGenerator.getExportFile( at com.atlassian.confluence.extra.flyingpdf.FlyingSaucerXmlToPdfConverter.convertXhtmlToPdf( ... 389 more



1 answer

I'm going to assume you mis-tagged this with Cloud and you are on server (as you would not see this sort of error on Cloud)

It is what it says it is - the Confluence server process is running as a user who does not have full write access to /confluence_home/temp on the server.

You'll need to have the server administrators correct the permissions.

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

59 views 0 3
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