0

I am trying to compress my PDF using ConvertAPI.

It works fine every time that the file name does not have an "__" or "-", but as soon as I put in an "_" the conversion fails most of the time with the

error code : 5001 and error "Conversion Failed"

the file is 4.4 MB in size. Below is the screen shot for the same enter image description here

Update

I am facing this error even when I have no special characters in my file name.. seems to happen randomly with no apparent reason..

StackTrack

 at ConvertApiDotNet.ConvertApi.<>c__DisplayClass6_0.<ConvertAsync>b__1(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ConvertApiDotNet.ConvertApi.<ConvertAsync>d__6.MoveNext()
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at ConvertApiDotNet.ConvertApi.<ConvertAsync>d__4.MoveNext()

enter image description here

Karthik Ganesan
  • 4,142
  • 2
  • 26
  • 42

0 Answers0