PDFs generated from Bubble page are blank

This article discusses blank PDFs created from Bubble applications (using the 'Create PDF' plugin action). For PDFs generated from a template designed in the DocuPotion editor, please see other sections of the documentation.

When generating PDFs in version-test of your Bubble application, you may encounter an issue where the PDF you generate is completely blank, even when there are elements on the page you are converting to a PDF.


Here's an example of a page being converted to a PDF:

Page in Bubble app being used for PDF

Here is the output PDF:


Cause of blank PDFs

This usually occurs because your app is protected by a username and password. A quick way of checking this is to open your app in incognito mode or in a browser where you're not logged into your Bubble app.

You'll likely see a login wall like in the below image:

The generated PDF is blank because DocuPotion actually needs to navigate to the target page in your application to generate a PDF. If you have a login wall, DocuPotion won't be able to access the target page and create a PDF.

This article is for cases where the generated PDF is completely blank. If your static data is appearing, but dynamic data is not, please see this doc on adding dynamic data to your PDF.


Solution

To allow DocuPotion to access your app, you can add the username and password you are using to restrict access to the 'Username' and 'Password' fields in the 'Plugins' tab. For example, in the app below we're using the username 'testuser' and the password 'testpassword' to restrict access:

Adding these details to the 'Username' and 'Password' fields in the 'Plugins' tab (where you add your DocuPotion access token) will allow DocuPotion to access your app and create PDFs:

If you've followed these steps but are still getting blank PDFs, feel free to contact our support team at this link.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.