PDF BAD PASSWORD Exception
"ERROR-003" 錯誤發生於 POST
請求中的 user_password
和/或 owner_password
參數不正確時。
建議的解析度
提示
在某些情況下,它們可能是相同的密碼,但妥善保護的 PDF 檔案應該有不同的值。
在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'
請參考以下行以正確使用:
-F 'user_password="1234"' \
-F 'owner_password="5678"' \