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

How to compress several PDFs in vscode using the SDK

New Here ,
Aug 23, 2022 Aug 23, 2022

Copy link to clipboard

Copied

 


I want to compress a bunch of pdfs in vscode using the sdk. Can somebody tell me how to do it? I'm receiving the following error: [ERROR]: Request could not be completed due to an unexpected error. Error: socket disconnect Exception occurred while performing the operation ServiceApiError: request timed out after 10 seconds 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.Socket. onTimeout (node:net:501:8) at listOnTimeout (node:internal/timers: unknown requestTrackingId, statusCode: 0, errorCode: 'UNKNOWN'

TOPICS
Acrobat SDK and JavaScript

Views

9

Likes

Translate

Translate

Report

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
no replies

Have something to add?

Join the conversation