Flatten PDF file fails


#1

I have uploaded a PDF form file, and I can view all the Form Fields using the “GetField” rest api call.
but, when I go to flatten the file, it says “Field not found”.

File I am using is attached.

Downloaded_ACORD_129_2009-11.pdf (373.2 KB)

Can anyone help to see why the attached PDF file cannot be flattened using the API?

Thanks.


#2

@raviterrace

We would appreciate if you could elaborate your question. Are you want to know why GET /pdf/{name}/fields API is returning “empty fields” in case of a flattened PDF document?
Or
You are looking for Aspose.PDF API to flatten a PDF document.


#3

@sohail.aspose
I am looking to flatten PDF documents.
When I do that with API call “PUT /pdf/{name}/fields/flatten” with the above attached file, I am getting “Field not found” error? Why is this call not flattening the document?


#4

@raviterrace

We are able to reproduce the issue on our end. We are investigating this issue (PDFCLOUD-783) and will update you shortly with our findings.


#5

Thanks @sohail.aspose

Hopefully you will have a fix soon.


#6

@raviterrace

Yes, we have set the priority of the issue high, and we will let you know here as soon as the issue is fixed.