NULL PDF Exception
The "ERROR-001" error occurs when there is no PDF file provided. This means that the required pdf_file
parameter in the POST
request was null or empty.
Please note
Recommended Resolution
Tips
pdf_file
parameter is set to your PDF file in the POST
request.Example of pdf_file
proper syntax in cURL:
curl -X POST 'https://api.securedoc.com/v1/document-services/pdfs/redact-text?words_to_redact=IRON' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'
Refer to the final line for proper usage:
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'