Troubleshooting
Issue not listed here? Check GitHub issues and discussions, or open a new one.
API
Bad Request (400)
A 400 Bad Request means the form data failed validation: a missing required form field, a malformed JSON value, an unsupported file extension, or an invalid field value. The body is plain text naming the offending field:
Invalid form data: a 'userPassword' or 'ownerPassword' is required
Match the Gotenberg-Trace response header against the logs for full context.
Chromium
Blank or Missing Content
- Dynamic Content: If your page relies on JavaScript to render, Chromium might print before it finishes. Use
waitDelayorwaitForExpressionto pause the conversion until the page is ready. - Backgrounds: By default, browsers remove backgrounds for printing. Enable the
printBackgroundform field, or use the CSS property-webkit-print-color-adjust: exact;. - Network Idle: For versions after 8.11.0, try setting the
skipNetworkIdleEventform field to false. - Updates: Consider upgrading to the latest Gotenberg version to benefit from debugging features like Network Errors or Invalid HTTP Status Codes.