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

RemoveProtectionOperation ServiceApiException

New Here ,
Nov 11, 2020 Nov 11, 2020

Copy link to clipboard

Copied

ServiceApiException occurs when I use RemoveProtectionOperation

 

2020-11-11_12h18_09.png

2020-11-11_12h18_38.png

 

StackTrace

於 Adobe.DocumentServices.PDFTools.core.http.HttpClient.ExecuteRequest[T](HttpBaseRequest baseRequest)
於 Adobe.DocumentServices.PDFTools.core.http.HttpClient.<>c__DisplayClass11_0`1.<Execute>b__0()
於 Polly.Policy`1.<>c__DisplayClass11_0.<Execute>b__0(Context ctx, CancellationToken ct)
於 Polly.Retry.RetryEngine.Implementation[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Action`4 onRetry, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider)
於 Polly.Retry.RetryPolicy`1.Implementation(Func`3 action, Context context, CancellationToken cancellationToken)
於 Polly.Policy`1.Execute(Func`3 action, Context context, CancellationToken cancellationToken)
於 Polly.Policy`1.Execute(Func`1 action)
於 Adobe.DocumentServices.PDFTools.core.http.HttpClient.Execute[T](HttpBaseRequest baseRequest)
於 Adobe.DocumentServices.PDFTools.core.api.CPFApi.CPFCreateOpsApi[T](InternalExecutionContext context, CPFContentAnalyzerRequests cpfContentAnalyzerRequests, List`1 sourceFileRefList, String operation)
於 Adobe.DocumentServices.PDFTools.core.service.RemoveProtectionService.RemoveProtection(InternalExecutionContext context, FileRefImpl sourceFileRef, String password, String operation)
於 Adobe.DocumentServices.PDFTools.pdfops.RemoveProtectionOperation.Execute(ExecutionContext context)
於 PDFHelper.Form1.button1_Click(Object sender, EventArgs e) 在 D:\FormTest\FormPDF\PDFHelper\Form1.cs:行 131 中

TOPICS
How to , PDF Services API

Views

287

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
Community Beginner ,
Dec 08, 2020 Dec 08, 2020

Copy link to clipboard

Copied

Hi  @Wang16B7 , Thanks for reaching out, As per the error message that you are recieving "Error response received for the request: The basic connection is closed: An error occurred during transmission" , your network connection seems to be slow or intermittent, I will suggest you to retry with the same file and let us know if the problem persists.

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
New Here ,
Jan 11, 2022 Jan 11, 2022

Copy link to clipboard

Copied

LATEST

Hi Team,

 

We aslo facing the same issue. While we are converting file randomly we are getting below error. Kindly help us in order to solve this.

 

Adobe.DocumentServices.PDFTools.core.http.HttpClient.CheckContentReponseStatusCode(ContentAnalyzerResponse contentAnalyzerResponse)
at Adobe.DocumentServices.PDFTools.core.http.HttpClient.ExecuteRequest[T](HttpBaseRequest baseRequest)
at Polly.Policy`1.<>c__DisplayClass11_0.<Execute>b__0(Context ctx, CancellationToken ct)
at Polly.Retry.RetryEngine.Implementation[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Action`4 onRetry, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider)
at Polly.Retry.RetryPolicy`1.Implementation(Func`3 action, Context context, CancellationToken cancellationToken)
at Polly.Policy`1.Execute(Func`3 action, Context context, CancellationToken cancellationToken)
at Adobe.DocumentServices.PDFTools.core.api.CPFApi.CPFStatusApi[T](InternalExecutionContext context, String location)
at Adobe.DocumentServices.PDFTools.core.api.FileDownloadApi.DownloadFile[T](InternalExecutionContext context, String location, String destinationPath)
at Adobe.DocumentServices.PDFTools.pdfops.CreatePDFOperation.Execute(ExecutionContext context)

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
Resources