Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

RemoveProtectionOperation ServiceApiException

Avatar

Level 1

ServiceApiException occurs when I use RemoveProtectionOperation

ZhengYuan_0-1605068290865.png

ZhengYuan_1-1605068333336.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 中

 

1 Accepted Solution

Avatar

Correct answer by
Employee

We have a dedicated forum for the Document Services APIs which can be found here: https://community.adobe.com/t5/document-services-apis/bd-p/Document-Cloud-SDK?page=1&sort=latest_rep...

 

The team that monitors that forum will be better able to help resolve this issue

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

We have a dedicated forum for the Document Services APIs which can be found here: https://community.adobe.com/t5/document-services-apis/bd-p/Document-Cloud-SDK?page=1&sort=latest_rep...

 

The team that monitors that forum will be better able to help resolve this issue