Skip to main content
Participant
July 14, 2022
Question

How to compress multiple pdfs in one go using SDK in vscode

  • July 14, 2022
  • 1 reply
  • 317 views

I want to compress a batch of pdfs using the sdk in vscode. can anyone guide how to do it .I am getting [ERROR]: Unexpected Error, request could not be completed Error: socket hang up Exception encountered while executing operation ServiceApiError: request timed out, 10 seconds expired at ClientRequest.<anonymous> (D:\Desktop\adobe\node_modules\@adobe\pdfservices-node-sdk\src\internal\http\http-client.js:276:13) at ClientRequest.emit (node:events:520:28) at TLSSocket.emitRequestTimeout (node:_http_client:758:9) at Object.onceWrapper (node:events:639:28) at TLSSocket.emit (node:events:532:35) at TLSSocket.Socket._onTimeout (node:net:501:8) at listOnTimeout (node:internal/timers:559:17) at processTimers (node:internal/timers:502:7) { requestTrackingId: undefined, statusCode: 0, errorCode: 'UNKNOWN' }

This topic has been closed for replies.

1 reply

Bernd Alheit
Community Expert
Community Expert
July 14, 2022

What API of Adobe Acrobat does you use?