PDF BAD PASSWORD Exception
The "ERROR-003" error occurs when the user_password
and/or owner_password
parameter in the POST
request is incorrect.
Recommended Resolution
Tips
In some cases they might be the same password, but properly secured PDFs should have different values.
Example of proper password application in cURL:
curl -X POST 'https://api.securedoc.com/v1/document-services/pdfs/redact-text' \
-H 'accept: */*' \
-H 'Content-Type: multipart/form-data' \
-F 'words_to_redact="IRON"' \
-F 'user_password="1234"' \
-F 'owner_password="5678"' \
-F 'pdf_file=@YOUR_PDF_DOCUMENT.pdf;type=application/pdf'
Refer to these lines for proper usage:
-F 'user_password="1234"' \
-F 'owner_password="5678"' \