Skip to main content
Participating Frequently
December 14, 2022
Question

Getting 'Fatal error ' when generating pdf using Adobe pdfservices-sdk

  • December 14, 2022
  • 17 replies
  • 5224 views

Getting 'Fatal error ' as below when generating pdf using Adobe

pdfservices-sdk

version 2.2.2 Html to pdf operation

All validations successfully done. Beginning CreatePDF operation execution 2022-12-13 16:59:48.749 [XNIO-1 task-14] ERROR c.a.e.d.m.b.s.CreatePDFFromHTML - Exception encountered while executing operation com.adobe.pdfservices.operation.exception.ServiceApiException: description ='Fatal error, Please check logs for details.'; requestTrackingId='Y6GzQ0h7Wj1e2GAdWMuBVapadrRcvtwY'; statusCode=500; errorCode=UNKNOWN at com.adobe.pdfservices.operation.pdfops.CreatePDFOperation.execute(CreatePDFOperation.java:212) at com.anthem.emep.dckr.microsvc.bbbookletservice.service.CreatePDFFromHTML.generatePdf(CreatePDFFromHTML.java:68)

    This topic has been closed for replies.

    17 replies

    Raymond Camden
    Community Manager
    Community Manager
    December 14, 2022

    Can you share the HTML input you used?

    Participating Frequently
    December 14, 2022
    <!DOCTYPE html>
    <html lang="en">

    <head>
    <meta charset="UTF-8">
    <title>Adobe IO</title>
    <script src="https://cdn.jsdelivr.net/npm/jsonata/jsonata.min.js"></script>
    </head>

    <body onload = "initial()">
    <script type="text/javascript">
    function initial()
    {
    var document = window.document;
    document.getElementById("outline").innerHTML = String(window.json.outline);
    }
    </script>

    <div>
    <div>
    <p id="outline"></p>
    </div>
    </div>
    </body>

    </html>
    Raymond Camden
    Community Manager
    Community Manager
    December 15, 2022

    It looks like you probably also passed custom data too - can you share that?