Free Support Forum -

How to Fill in Fillable PDF forms with Aspose.PDF REST API

I am trying to fill a PDF form I have uploaded to cloud storage. I can successfully get the form fields and values and download the PDF file itself through the API. However, I get “Object reference not set to an instance of an object” when issuing a PUT request to the service to fill out the form.

I am not sure what the problem is or how to get more details. Any help is appreciated.

Hi Andy,

Thanks for using our API’s.

Please share your PDF, URI and the JSON/XML request body which you are sending as parameters, so that we can test the scenario in our environment. We are sorry for this inconvenience.

Thanks for the response. I have attached the PDF.

The URI I issued is as follows:

And the JSON looked like this:

“Name”: ‘Name_QOm6Xiy3v5sfz*16d0kh0Q’,
“Values”: [‘Caleb’]

Thank you.

Hi Andy,

Your JSON is not in the correct format. It should be like the following.


Please feel free to contact us in case you have further comments or questions.

Best Regards,