Loading

Omniscript Document Generation Error:: JSZip is not defined

Julkaisupäivä: Jun 9, 2026
Kuvaus

During PDF generation in OmniScript, Experience Cloud site users may see the error:

"OmniScript Document Generation Error: ReferenceError: JSZip is not defined"

 

When this error appears, the PDF preview can fail to load. This blocks document review and process completion.

The usual cause is a client-side failure to load the JSZip static resource required for document generation.

Network instability or browser resource limits may contribute to the failure.

Ratkaisu
  1. Verify the user has access to the DOCX template used for document generation.
  2. If access is confirmed, retry document generation. Refresh the browser if appropriate, then try again.
  3. Ensure the user has a stable network connection and limit browser activity, such as having many open tabs, during generation.
  4. For OmniScript flows where a refresh causes data loss, add error handling to the PDF DocGen step and provide a retry option that returns the user to the flow without refreshing.
  5. If the issue continues, collect and provide these items when opening a support case:
    • Browser console logs.
    • HAR (network) logs.
    • Exact timestamp of the occurrence.
Knowledge-artikkelin numero

005386556

 
Ladataan
Salesforce Help | Article