RPC Confluence export fails with TYPE_PDF

Has any one come across this issue?


xmlrpclib.Fault: <Fault 0: 'java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: Invalid export type: [TYPE_PDF]'>


I am trying to write an automated export tool for a space.  I can export it with TYPE_HTML and TYPE_PDF


I am using the latest confluence 5.7.1

2 answers

Hi Dan,

Did you get anywhere with PDF exports using XML-RPC? I need something similar and would be helpful for any help on the topic? My email is xecaz@hotmail.com if you feel like helping out.


Kind regards


Stephen Deutsch Community Champion Jun 08, 2015

Hi Jonas, it works, it just uses a different endpoint as the regular API. Click the link in my answer above for more details.

0 vote
Stephen Deutsch Community Champion Apr 08, 2015

Hi Dan,

If you look at the documentation, you'll see that TYPE_PDF is no longer supported through the regular space export XML-RPC endpoint, instead you have to use a slightly different URL, as it runs through a separate plugin.  See this page for more details:


Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

1,008 views 22 10
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you