Skip to main content

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?

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.


Reply