meta data for this page
How to resolve PDF export issues with N4V FOR WEBI widgets after upgrading to version 2026.3.x
Anonymised summary of support ticket #986625 (2026-11-03)
Symptom
After upgrading to N4V FOR WEBI version 2026.3.x, PDF exports of Web Intelligence documents fail to display N4V widgets (maps, charts, etc.). The following error appears in logs: 'FetchError: request to [url] failed, reason: Parse Error: Unexpected whitespace after header value'.
Environment
N4V FOR WEBI version 2026.3.x, SAP BusinessObjects Web Intelligence, Tomcat, Puppeteer module, BIG-IP (F5) load balancer.
Resolution
- Verify HTTP headers in responses, especially 'Content-Security-Policy' headers, for line breaks or malformed syntax that may split headers into multiple lines.
- Correct the header syntax in the BIG-IP configuration to ensure 'Content-Security-Policy' and related headers are properly formatted without line breaks.
- As a temporary workaround, add the '--insecure-http-parser' option to Puppeteer launch arguments in the N4V config.js file, then restart N4V services.
- Restart Tomcat and N4V services after applying changes.
- Test PDF export again to confirm resolution.
Other resolution
The issue arises due to stricter HTTP header parsing in Puppeteer (used by N4V for PDF generation) compared to standard browsers. Malformed headers, particularly 'Content-Security-Policy', can cause Puppeteer to fail parsing responses, leading to export failures.