Skip to content

Troubleshooting

Blank or Incomplete PDFs

Possible causes:

  • Invalid HTML structure
  • Missing or broken image links
  • External resources not loading

Solutions:

  • Validate your HTML structure
  • Embed images as base64 data URIs
  • Use inline CSS instead of external stylesheets
  • Test with simplified HTML first

CSS Styles Not Rendering

Possible causes:

  • External stylesheet not loading
  • CSS syntax errors
  • Unsupported CSS properties

Solutions:

  • Use inline styles or <style> tags in the <head>
  • Ensure external stylesheet URLs use HTTPS
  • Validate CSS syntax
  • Test with basic styles first

Images Not Displaying

Possible causes:

  • Relative image paths
  • External images behind authentication
  • Image URLs not accessible

Solutions:

  • Convert images to base64 data URIs
  • Use absolute HTTPS URLs for external images
  • Verify images are publicly accessible
  • Test image URLs in a browser first

Request Timeout

Possible causes:

  • Complex HTML with many resources
  • Large images or excessive content
  • Server processing time exceeded

Solutions:

  • Simplify HTML structure
  • Reduce number of images
  • Optimize and compress images
  • Embed resources as base64 to reduce external requests
  • Note: Maximum timeout is 5 minutes per request

Technical Limitations

  • Timeout: 5-minute maximum per request
  • Memory: 2GB allocation per request
  • Storage: 512MB temporary storage
  • Page format: Letter size (8.5″ × 11″)
  • Infrastructure: Rendered via Chromium on AWS Lambda