Services Plugins FAQs

Bubble page to pdf convertor not working

Hello it’s actually really urgent for me to make it working as pdf will be the core output of my application,
so it was working perfectly in one of my application and later when I followed the exact same process to make new invoice it threw the error - something went wrong and also in one of the page as

The plugin Bubble Page to PDF converter / action Generate PDF a Converter to PDF threw the following error: TypeError: Cannot read properties of null (reading ‘getClientRects’)
at eval (PLUGIN_1526888373861x305666508856229900/Bubble-Page-to-PDF-converter-element_action–Converter-to-PDF-Generate–PDF–.js:3:6460)

Please let me know what steps should I follow to remove this errors

1 Like

Hello @ishanbakhru6, :wave:

Thank you for providing the details. The error TypeError: Cannot read properties of null (reading ‘getClientRects’) usually indicates that an element expected to be present is missing or not properly loaded. Here are a few steps you can follow to troubleshoot and fix this issue:

  1. Ensure that the target element you’re converting to a PDF is not hidden or empty when the PDF generation process starts.
  2. Make sure all the required elements are visible on the page.
  3. Add a small delay (1-2 seconds) before triggering the Generate PDF action to give all elements enough time to load. (You can do this using the “Pause” action in the workflow.)
  4. Please ensure that the element IDs specified in the plugin action match the actual IDs of the elements on the page.
    image
  5. Make sure you’re using the latest version of the Bubble Page to PDF Converter plugin.
  6. Try creating a new page with only the necessary elements and the Generate PDF action to isolate any external factors that could be causing the error.

For more detailed instructions, please refer to the plugin documentation: Bubble Page to PDF Converter Plugin Documentation.

If the issue persists after following these steps, please share additional details such as:

  • Screenshots of your workflow setup.
  • A loom video showing how you’re configuring and running the PDF generation process.

This will help us understand the problem and provide a more accurate solution.

Looking forward to your response.

Best regards,
Daniel.

Hi @ishanbakhru6, :wave:

I hope you’re doing well.

Have you had a chance to try out the suggested fixes? If so, did they help resolve the issue? If the problem persists, could you please provide screenshots of your workflow setup or a Loom video demonstrating how you’re configuring and running the PDF generation process? This information will greatly assist us in diagnosing the problem more effectively.

Looking forward to your response.

Best regards,
Daniel