Skip to main content
Participant
May 29, 2022 5:09 PM UTC
Question

Internal server Error trying to Compress or Protect a file

Hi everyone, I'm getting this error from the PDFServicesSdk for NodeJS:

 

Exception encountered while executing operation ServiceApiError: An Internal Server Error has occurred.; transactionId=nvbyhAvF2nyXcyUsuGwZL2E1dJb5CFiI
at C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\@adobe\pdfservices-node-sdk\src\internal\api\cpf-api.js:197:20
at IncomingForm.<anonymous> (C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\formidable\lib\incoming_form.js:107:9)
at IncomingForm.emit (events.js:314:20)
at IncomingForm.EventEmitter.emit (domain.js:506:15)
at IncomingForm._maybeEnd (C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\formidable\lib\incoming_form.js:557:8)
at JSONParser.parser.onEnd (C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\formidable\lib\incoming_form.js:532:10)
at JSONParser.end (C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\formidable\lib\json_parser.js:29:8)
at IncomingMessage.<anonymous> (C:\Users\Javier\personal-projects\petdx\brochure-watermarking\node_modules\formidable\lib\incoming_form.js:132:30)
at IncomingMessage.emit (events.js:326:22)
at IncomingMessage.EventEmitter.emit (domain.js:506:15) {
requestTrackingId: 'qXuXNVhL8oEsyehV8LVZYDlueQ4xI4mE',
statusCode: 500,
errorCode: 'INTERNAL_SERVER_ERROR'
}

 

I think it has something to do with the file because it only happens for some files.

 

Thanks,

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Kyle Julé24692827
    Adobe Employee
    Adobe Employee
    Jun 3, 2022 3:56 PM UTC

    Hi there,

    I'd be happy to help, but I'll need some additional information. The stack trace you shared seems to mostly involve code you've written, so I can't determine what you're trying to do.

    If you could provide me with the files you're utilizing (PDF, Word Doc, etc), and what feature of the SDK you're using, I can dig into it. If you could send me the file that works and the one that doesn't that would help.

    Feel free to email me at aft14024@adobe.com

    Translate