Skip to main content
Participating Frequently
Dec 14, 2022 9:08 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

    17 replies

    Raymond Camden
    Community Manager
    Community Manager
    Dec 14, 2022 3:20 PM UTC

    Can you share the HTML input you used?

    Translate
    Participating Frequently
    Dec 14, 2022 3:40 PM UTC
    <!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>
    Translate
    Raymond Camden
    Community Manager
    Community Manager
    Dec 15, 2022 7:18 PM UTC

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

    Translate