Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

pdfservices-node-sdk with Nodejs executed on Internet environnement

New Here ,
Sep 02, 2023 Sep 02, 2023

Hi 🙂

I use API Adobe to generate PDF from docx.

In local environnement it is working fine.

 

await documentMergeOperation
  .execute(executionContext)

 

When I deploy the nodejs application on the Internet, I have this error

2023-09-02 11:42:22 error [undefined] SID[undefined] unhandledRejection: process.send is not a function
TypeError: process.send is not a function
    at Object.send (/home/jivciei/adusuki/node_modules/log4js/lib/clustering.js:98:15)
    at Logger._log (/home/jivciei/adusuki/node_modules/log4js/lib/logger.js:106:16)
    at Logger.log (/home/jivciei/adusuki/node_modules/log4js/lib/logger.js:89:12)
    at Logger.<computed> [as info] (/home/jivciei/adusuki/node_modules/log4js/lib/logger.js:140:10)
    at DocumentMergeOperation.execute (/home/jivciei/adusuki/node_modules/@adobe/pdfservices-node-sdk/src/operation/document-merge-operation.js:136:10)
    at post_paiement_virement_save (/home/jivciei/adusuki/controllers/adhesionController.js:1384:4)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

 

 Do you know if we can use the adobe API on an application deloyed on Internet ?

Did you experienced same problem ?

 

Thank you for your help

 

Julie

597
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Sep 02, 2023 Sep 02, 2023

I finally found the issue.

It was caused by the lines with logger.info('xxxxx') on the node_modules files of the @adobe/pdfservices-node-sdk package.
I commented them all, and now it is working fine.

Adobe should review this.

 
Translate
New Here ,
Sep 02, 2023 Sep 02, 2023
LATEST

I finally found the issue.

It was caused by the lines with logger.info('xxxxx') on the node_modules files of the @adobe/pdfservices-node-sdk package.
I commented them all, and now it is working fine.

Adobe should review this.

 
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources