Skip to main content
JohnSantos
Guru
Guru
June 26, 2024
Solved

Purging documents POSTMAN Help

I’m testing the API call to add an envelope to be purged.  I have a completed envelope ID from one of our Dev environment.  I’ve been able to successfully change the purgeState from “documents_and_metadata_and_redact_queued” to “documents_dequeued” using the API Explorer from developers.docusign.com  

When I try the same API call from Postman, I’m getting the following error: 

    "errorCode": "DOCUMENT_PURGE_FAILED",

    "message": "Error adding documents to the purge queue. Only the sender may remove the envelope documents"

I can make other successful calls using Postman.  I’m the same user; that sent the envelope.

Any idea what the issue is in Postman?

JohnSantos
Guru
June 26, 2024

I figured it out.  I always say, double check and check again.   I was using the wrong envelope ID from a different Dev account.   All I had to do was change the Account ID on my call.

Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.

1 reply

JohnSantos
Guru
JohnSantosGuruAuthorAnswer
Guru
June 26, 2024

I figured it out.  I always say, double check and check again.   I was using the wrong envelope ID from a different Dev account.   All I had to do was change the Account ID on my call.

Translate
Welcome to the DocuSign Community! Your feedback is highly valued. If you find my response helpful, please give it a "Like" and consider marking it as the "Best Answer" to assist others with similar issues.